chore: cargo +nightly clippy --fix -Z unstable-options
This commit is contained in:
committed by
Michael Vines
parent
3570b00560
commit
6514096a67
@@ -628,7 +628,7 @@ where
|
||||
.ok_or_else(|| Error::ObjectNotFound(format!("{}/{}", table, key)))?
|
||||
.1;
|
||||
|
||||
let data = decompress(&value)?;
|
||||
let data = decompress(value)?;
|
||||
T::decode(&data[..]).map_err(|err| {
|
||||
warn!("Failed to deserialize {}/{}: {}", table, key, err);
|
||||
Error::ObjectCorrupt(format!("{}/{}", table, key))
|
||||
@@ -649,7 +649,7 @@ where
|
||||
.ok_or_else(|| Error::ObjectNotFound(format!("{}/{}", table, key)))?
|
||||
.1;
|
||||
|
||||
let data = decompress(&value)?;
|
||||
let data = decompress(value)?;
|
||||
bincode::deserialize(&data).map_err(|err| {
|
||||
warn!("Failed to deserialize {}/{}: {}", table, key, err);
|
||||
Error::ObjectCorrupt(format!("{}/{}", table, key))
|
||||
|
@@ -559,7 +559,7 @@ impl LedgerStorage {
|
||||
let signature = transaction.signatures[0];
|
||||
|
||||
for address in &transaction.message.account_keys {
|
||||
if !is_sysvar_id(&address) {
|
||||
if !is_sysvar_id(address) {
|
||||
by_addr
|
||||
.entry(address)
|
||||
.or_default()
|
||||
|
Reference in New Issue
Block a user