sbtc-developer-release icon indicating copy to clipboard operation
sbtc-developer-release copied to clipboard

Romeo exits with Unexpected number of Stacks statuses updated

Open mijoco-btc opened this issue 1 year ago • 2 comments

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

mijoco-btc avatar Oct 28 '23 13:10 mijoco-btc

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

mijoco-btc avatar Oct 28 '23 13:10 mijoco-btc

Could be related to #328

friedger avatar Oct 28 '23 16:10 friedger