Correction for previous commit

This commit is contained in:
Luke Parker 2022-10-15 21:07:52 -04:00
parent 245dcc6083
commit a245ee28c1
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -236,7 +236,7 @@ impl<D: CoinDb, C: Coin> Wallet<D, C> {
// TODO: Remove // TODO: Remove
pub async fn is_confirmed(&mut self, tx: &[u8]) -> Result<bool, CoinError> { 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> { pub async fn poll(&mut self) -> Result<(), CoinError> {