mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
fmt
This commit is contained in:
parent
b69969942a
commit
0b1a1c03dc
@ -535,11 +535,7 @@ impl RocksDBIO {
|
|||||||
pub fn put_snapshot_account_db(&self, account: Vec<u8>) -> DbResult<()> {
|
pub fn put_snapshot_account_db(&self, account: Vec<u8>) -> DbResult<()> {
|
||||||
let cf_snapshot = self.snapshot_column();
|
let cf_snapshot = self.snapshot_column();
|
||||||
self.db
|
self.db
|
||||||
.put_cf(
|
.put_cf(&cf_snapshot, DB_SNAPSHOT_ACCOUNT_KEY.as_bytes(), account)
|
||||||
&cf_snapshot,
|
|
||||||
DB_SNAPSHOT_ACCOUNT_KEY.as_bytes(),
|
|
||||||
account,
|
|
||||||
)
|
|
||||||
.map_err(|rerr| DbError::rocksdb_cast_message(rerr, None))?;
|
.map_err(|rerr| DbError::rocksdb_cast_message(rerr, None))?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user