Jumptable cache (#2427)

* Jumptable cache

* Updated registrar address
This commit is contained in:
Arkadiy Paronyan
2016-10-02 18:45:36 +02:00
committed by GitHub
parent 80afb78c7f
commit 0dcdaa7a2a
19 changed files with 266 additions and 176 deletions

View File

@@ -831,7 +831,7 @@ impl BlockChainClient for Client {
}
fn code(&self, address: &Address, id: BlockID) -> Option<Option<Bytes>> {
self.state_at(id).map(|s| s.code(address))
self.state_at(id).map(|s| s.code(address).map(|c| (*c).clone()))
}
fn balance(&self, address: &Address, id: BlockID) -> Option<U256> {