mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Correct clippy lint identified upon rebase
This commit is contained in:
@@ -4,6 +4,7 @@ pub use ::parity_db::{Options, Db as ParityDb};
|
||||
|
||||
use crate::*;
|
||||
|
||||
#[must_use]
|
||||
pub struct Transaction<'a>(&'a Arc<ParityDb>, Vec<(u8, Vec<u8>, Option<Vec<u8>>)>);
|
||||
|
||||
impl Get for Transaction<'_> {
|
||||
|
||||
@@ -7,6 +7,7 @@ use rocksdb::{
|
||||
|
||||
use crate::*;
|
||||
|
||||
#[must_use]
|
||||
pub struct Transaction<'a, T: ThreadMode>(
|
||||
RocksTransaction<'a, OptimisticTransactionDB<T>>,
|
||||
&'a OptimisticTransactionDB<T>,
|
||||
|
||||
@@ -369,7 +369,7 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||
// Clear the message tape
|
||||
{
|
||||
let mut txn = self.db.txn();
|
||||
txn.del(&message_tape_key(self.genesis));
|
||||
txn.del(message_tape_key(self.genesis));
|
||||
txn.commit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user