diff --git a/processor/src/wallet.rs b/processor/src/wallet.rs index d12614fa..6cbdf39a 100644 --- a/processor/src/wallet.rs +++ b/processor/src/wallet.rs @@ -234,6 +234,11 @@ impl Wallet { self.coin.address(self.keys[self.keys.len() - 1].0.group_key()) } + // TODO: Remove + pub async fn is_confirmed(&mut self, tx: &[u8]) -> Result { + self.coin.is_confirmed(tx, self.scanned_height + C::CONFIRMATIONS) + } + pub async fn poll(&mut self) -> Result<(), CoinError> { if self.coin.get_height().await? < C::CONFIRMATIONS { return Ok(());