Fix docs of address_hash (#9463)
This commit is contained in:
parent
502bacea82
commit
c12447c7c5
@ -235,7 +235,8 @@ impl Account {
|
|||||||
self.code_hash.clone()
|
self.code_hash.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// return the code hash associated with this account.
|
/// return and cache `keccak(address)`, `address` must be the address of this
|
||||||
|
/// account.
|
||||||
pub fn address_hash(&self, address: &Address) -> H256 {
|
pub fn address_hash(&self, address: &Address) -> H256 {
|
||||||
let hash = self.address_hash.get();
|
let hash = self.address_hash.get();
|
||||||
hash.unwrap_or_else(|| {
|
hash.unwrap_or_else(|| {
|
||||||
|
Loading…
Reference in New Issue
Block a user