stacks-network / sbtc-developer-release

sBTC primitives, signer components, helper tools
https://sbtc.tech
MIT License
1.98k stars 22 forks source link

Romeo exits with Unexpected number of Stacks statuses updated #333

Open radicleart opened 10 months ago

radicleart commented 10 months ago

Cause romeo process to exit.

last two lines of log

2023-10-28T13:06:06.680463Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
thread 'main' panicked at 'Unexpected number of Stacks statuses updated: 66', romeo/src/state.rs:353:17
radicleart commented 10 months ago

Changed state.rs:342 to

if statuses_updated != 1 {
    if config.strict {
        panic!(
        "Unexpected number of Stacks statuses updated: {}",
            statuses_updated
        );
    } else {
        debug!("Unexpected number of Stacks statuses updated");
    }
}

and spun it back up

friedger commented 10 months ago

Could be related to #328