Add missing txn commit

Identified by @akildemir.
This commit is contained in:
Luke Parker
2024-07-05 03:32:21 -04:00
parent 8469d18123
commit bdf9baa745

View File

@@ -1068,6 +1068,7 @@ impl<N: Network + 'static> TendermintMachine<N> {
let mut message_tape = txn.get(&message_tape_key).unwrap_or(vec![]); let mut message_tape = txn.get(&message_tape_key).unwrap_or(vec![]);
message_tape.extend(signed_msg.encode()); message_tape.extend(signed_msg.encode());
txn.put(&message_tape_key, message_tape); txn.put(&message_tape_key, message_tape);
txn.commit();
} }
// Re-broadcast this since it's an original consensus message worth handling // Re-broadcast this since it's an original consensus message worth handling