client state data func

This commit is contained in:
Nikolay Volf 2016-03-11 23:09:14 +04:00
parent 1e40997ff7
commit e970dd4530
1 changed files with 2 additions and 2 deletions

View File

@ -466,8 +466,8 @@ impl<V> BlockChainClient for Client<V> where V: Verifier {
}
}
fn state_data(&self, _hash: &H256) -> Option<Bytes> {
None
fn state_data(&self, hash: &H256) -> Option<Bytes> {
self.state_db.lock().unwrap().state(hash)
}
fn block_receipts(&self, _hash: &H256) -> Option<Bytes> {