From 401522cef8a3f44b119c4f27a420a3ebe1d89780 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 10 Jun 2015 06:36:36 +0200 Subject: [PATCH] fixed #1589 --- libethereum/ClientBase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libethereum/ClientBase.cpp b/libethereum/ClientBase.cpp index a75e0ebdd..01a9442ec 100644 --- a/libethereum/ClientBase.cpp +++ b/libethereum/ClientBase.cpp @@ -314,6 +314,8 @@ LocalisedLogEntries ClientBase::checkWatch(unsigned _watchId) BlockInfo ClientBase::blockInfo(h256 _hash) const { + if (_hash == PendingBlockHash) + return preMine().info(); return BlockInfo(bc().block(_hash)); }