Return nothing on state requests instead of panicing

This commit is contained in:
arkpar 2016-02-16 01:13:13 +01:00
parent fb0b5b2e5b
commit dbf3691c22
1 changed files with 2 additions and 2 deletions

View File

@ -419,11 +419,11 @@ impl BlockChainClient for Client {
}
fn state_data(&self, _hash: &H256) -> Option<Bytes> {
unimplemented!();
None
}
fn block_receipts(&self, _hash: &H256) -> Option<Bytes> {
unimplemented!();
None
}
fn import_block(&self, bytes: Bytes) -> ImportResult {