diff --git a/taptrade-cli-demo/coordinator/src/wallet/mod.rs b/taptrade-cli-demo/coordinator/src/wallet/mod.rs index 24cd8f6..1c6bee3 100644 --- a/taptrade-cli-demo/coordinator/src/wallet/mod.rs +++ b/taptrade-cli-demo/coordinator/src/wallet/mod.rs @@ -108,7 +108,7 @@ impl CoordinatorWallet { { let wallet = self.wallet.lock().await; - for bond in *bonds { + for bond in bonds.as_ref().iter() { let input_sum: u64; let tx: Transaction = deserialize(&hex::decode(&bond.bond_tx_hex)?)?;