fn code_hash(&mut self, address: H160) -> (H256, bool) {
        let (acc, is_cold) = self.data.subroutine.load_code(address, self.data.db);
        //asume that all precompiles have some balance
        if acc.filth.is_precompile() && self.data.env.cfg.perf_all_precompiles_have_balance {
            return (KECCAK_EMPTY, is_cold);
        }
        if acc.is_empty() {
            return (H256::zero(), is_cold);
        }

        (acc.info.code_hash, is_cold)
    }
/// Get code hash of address.
Get code hash of address.
Get code hash of address .
fn code_hash(&mut self, address: H160) -> (H256, bool) {
        let (acc, is_cold) = self.data.subroutine.load_code(address, self.data.db);
        //asume that all precompiles have some balance
        if acc.filth.is_precompile() && self.data.env.cfg.perf_all_precompiles_have_balance {
            return (KECCAK_EMPTY, is_cold);
        }
        if acc.is_empty() {
            return (H256::zero(), is_cold);
        }
        (acc.info.code_hash, is_cold)
    }
fn code_hash ( & mut self , address : H160 ) -> ( H256 , bool ) { let ( acc , is_cold ) = self . data . subroutine . load_code ( address , self . data . db ) ; //asume that all precompiles have some balance if acc . filth . is_precompile ( ) && self . data . env . cfg . perf_all_precompiles_have_balance { return ( KECCAK_EMPTY , is_cold ) ; } if acc . is_empty ( ) { return ( H256 :: zero ( ) , is_cold ) ; } ( acc . info . code_hash , is_cold ) }
Get code hash of address.
Get code hash of address .
&mut self
address
H160
&mut self
address
H160