mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Finish transaction signing task with TX rebroadcast code
This commit is contained in:
@@ -278,9 +278,7 @@ impl<D: Db, M: Clone + PreprocessMachine> SigningProtocol<D, M> {
|
||||
}
|
||||
|
||||
/// Cleanup the database entries for a specified signing protocol.
|
||||
pub(crate) fn cleanup(db: &mut D, id: [u8; 32]) {
|
||||
let mut txn = db.txn();
|
||||
Attempted::del(&mut txn, id);
|
||||
txn.commit();
|
||||
pub(crate) fn cleanup(txn: &mut impl DbTxn, id: [u8; 32]) {
|
||||
Attempted::del(txn, id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user