mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Correction for previous commit
This commit is contained in:
@@ -236,7 +236,7 @@ impl<D: CoinDb, C: Coin> Wallet<D, C> {
|
||||
|
||||
// TODO: Remove
|
||||
pub async fn is_confirmed(&mut self, tx: &[u8]) -> Result<bool, CoinError> {
|
||||
self.coin.is_confirmed(tx, self.scanned_height + C::CONFIRMATIONS)
|
||||
self.coin.is_confirmed(tx, self.scanned_height() + C::CONFIRMATIONS).await
|
||||
}
|
||||
|
||||
pub async fn poll(&mut self) -> Result<(), CoinError> {
|
||||
|
||||
Reference in New Issue
Block a user