mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Misc tidying of serai-db calls
This commit is contained in:
@@ -69,9 +69,7 @@ impl<S: ScannerFeed> Db<S> {
|
||||
txn: &mut impl DbTxn,
|
||||
output: &<OutputFor<S> as ReceivedOutput<KeyFor<S>, AddressFor<S>>>::Id,
|
||||
) -> bool {
|
||||
let res = AlreadyAccumulatedOutput::get(txn, output.as_ref()).is_some();
|
||||
AlreadyAccumulatedOutput::del(txn, output.as_ref());
|
||||
res
|
||||
AlreadyAccumulatedOutput::take(txn, output.as_ref()).is_some()
|
||||
}
|
||||
|
||||
pub(crate) fn queued_payments(
|
||||
|
||||
Reference in New Issue
Block a user