diff --git a/crates/xxi-node/src/node/wallet.rs b/crates/xxi-node/src/node/wallet.rs index c07be697f..64acfcd37 100644 --- a/crates/xxi-node/src/node/wallet.rs +++ b/crates/xxi-node/src/node/wallet.rs @@ -114,6 +114,10 @@ impl Nod .await .expect("task to complete")?; + // On sync, we unlock our locked utxos, because we are syncing with the blockchain we will + // find already spent utxos and release those which were locked unnecessarily. + self.wallet.locked_utxos.lock().clear(); + Ok(()) }