Skip to content

Commit

Permalink
MOD: fetch program hash from cf::State.
Browse files Browse the repository at this point in the history
  • Loading branch information
web3Softcloud committed Jan 10, 2024
1 parent fcb3031 commit 7af81e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/state/state_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl StateStorage {
pub fn get_contract_map(&self, contract_addr: &TreeValue) -> Result<Vec<u8>, StateError> {
let cf = self
.db
.cf_sequencer_handle(SequencerColumnFamily::ContractMap);
.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 7af81e6

Please sign in to comment.