mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-23 03:03:18 +00:00
fix monitoring loop access of Bond vec
This commit is contained in:
@ -108,7 +108,7 @@ impl<D: bdk::database::BatchDatabase> CoordinatorWallet<D> {
|
|||||||
|
|
||||||
{
|
{
|
||||||
let wallet = self.wallet.lock().await;
|
let wallet = self.wallet.lock().await;
|
||||||
for bond in *bonds {
|
for bond in bonds.as_ref().iter() {
|
||||||
let input_sum: u64;
|
let input_sum: u64;
|
||||||
|
|
||||||
let tx: Transaction = deserialize(&hex::decode(&bond.bond_tx_hex)?)?;
|
let tx: Transaction = deserialize(&hex::decode(&bond.bond_tx_hex)?)?;
|
||||||
|
Reference in New Issue
Block a user