mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
Correction for previous commit
This commit is contained in:
parent
245dcc6083
commit
a245ee28c1
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue