Jumptable cache (#2435)

* v1.3.3

* Jumptable cache
This commit is contained in:
Arkadiy Paronyan
2016-10-02 19:52:53 +02:00
committed by GitHub
parent 3d313d592a
commit 7f7fe33bde
21 changed files with 278 additions and 190 deletions

View File

@@ -808,7 +808,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> {