Skip to content

Commit

Permalink
MOD: fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
web3Softcloud committed Jan 10, 2024
1 parent f119612 commit cb442da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/state/state_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ impl StateStorage {
}

pub fn get_contract_map(&self, contract_addr: &TreeValue) -> Result<Vec<u8>, StateError> {
let cf = self
.db
.cf_sequencer_handle(SequencerColumnFamily::State);
let cf = self.db.cf_sequencer_handle(SequencerColumnFamily::State);
let addr_key = get_prog_hash_cf_key_from_contract_addr(contract_addr);
let res = self.db.get_cf(cf, addr_key);

Expand Down

0 comments on commit cb442da

Please sign in to comment.