diff --git a/sdk/src/masp.rs b/sdk/src/masp.rs index 238c4415d1..9e222cc7c1 100644 --- a/sdk/src/masp.rs +++ b/sdk/src/masp.rs @@ -61,7 +61,7 @@ use namada_core::types::masp::{ use namada_core::types::storage::{BlockHeight, Epoch, IndexedTx, TxIndex}; use namada_core::types::time::{DateTimeUtc, DurationSecs}; use namada_core::types::token; -use namada_core::types::token::{Change, MaspDenom, Transfer}; +use namada_core::types::token::{MaspDenom, Transfer}; use namada_core::types::transaction::{TxResult, WrapperTx}; use rand_core::{CryptoRng, OsRng, RngCore}; use ripemd::Digest as RipemdDigest; @@ -641,7 +641,7 @@ impl ShieldedContext { // Update this unknown shielded context until it is level with self while tx_ctx.last_indexed != self.last_indexed { if let Some((indexed_tx, (epoch, tx, stx))) = tx_iter.next() { - tx_ctx.scan_tx(*indexed_tx, *epoch, tx, stx).await?; + tx_ctx.scan_tx(*indexed_tx, *epoch, tx, stx)?; } else { break; } @@ -658,7 +658,7 @@ impl ShieldedContext { // Now that we possess the unspent notes corresponding to both old and // new keys up until tx_pos, proceed to scan the new transactions. for (indexed_tx, (epoch, tx, stx)) in &mut tx_iter { - self.scan_tx(*indexed_tx, *epoch, tx, stx).await?; + self.scan_tx(*indexed_tx, *epoch, tx, stx)?; } Ok(()) } diff --git a/shared/src/ledger/native_vp/masp.rs b/shared/src/ledger/native_vp/masp.rs index 8a8cd6d030..e899500dee 100644 --- a/shared/src/ledger/native_vp/masp.rs +++ b/shared/src/ledger/native_vp/masp.rs @@ -16,7 +16,7 @@ use namada_core::ledger::vp_env::VpEnv; use namada_core::proto::Tx; use namada_core::types::address::Address; use namada_core::types::address::InternalAddress::Masp; -use namada_core::types::storage::{Epoch, IndexedTx, Key}; +use namada_core::types::storage::{IndexedTx, Key}; use namada_core::types::token::{ self, is_masp_allowed_key, is_masp_key, is_masp_nullifier_key, masp_pin_tx_key,