mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 05:59:23 +00:00
Add missing txn commit
Identified by @akildemir.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user