fix monitoring loop access of Bond vec

This commit is contained in:
f321x
2024-07-12 15:13:32 +02:00
parent 20409c3c72
commit d99439b52f

View File

@ -108,7 +108,7 @@ impl<D: bdk::database::BatchDatabase> CoordinatorWallet<D> {
{
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)?)?;