There was an error while loading. Please reload this page.
2 parents 6087590 + 04d5b5c commit a63be70Copy full SHA for a63be70
1 file changed
ethcore/src/account.rs
@@ -138,7 +138,7 @@ impl Account {
138
/// get someone who knows to call `note_code`.
139
pub fn code(&self) -> Option<&[u8]> {
140
match self.code_hash {
141
- Some(c) if c == SHA3_EMPTY && self.code_cache.is_empty() => Some(&self.code_cache),
+ Some(c) if c == SHA3_EMPTY && self.code_cache.is_empty() => Some(&self.code_cache),
142
Some(_) if !self.code_cache.is_empty() => Some(&self.code_cache),
143
None => Some(&self.code_cache),
144
_ => None,
0 commit comments