From e970dd4530cfc20b0af1e86b49a83bcff62f3ec6 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Fri, 11 Mar 2016 23:09:14 +0400 Subject: [PATCH] client state data func --- ethcore/src/client/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 1148a0140..8abf3a526 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -466,8 +466,8 @@ impl BlockChainClient for Client where V: Verifier { } } - fn state_data(&self, _hash: &H256) -> Option { - None + fn state_data(&self, hash: &H256) -> Option { + self.state_db.lock().unwrap().state(hash) } fn block_receipts(&self, _hash: &H256) -> Option {