From f4bf0b2697de1359514792582eda18f1c57e6534 Mon Sep 17 00:00:00 2001 From: Piers Shepperson Date: Thu, 21 Mar 2019 12:25:36 +0000 Subject: [PATCH] Remove blueprint e2e --- eth/query/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/query/block.go b/eth/query/block.go index c647c76702..75d871996a 100644 --- a/eth/query/block.go +++ b/eth/query/block.go @@ -222,7 +222,7 @@ func DeprecatedGetBlockByHash( } for i := int(len(info.BlockMetas) - 1); i >= 0; i-- { if 0 == bytes.Compare(hash, info.BlockMetas[i].BlockID.Hash) { - return DeprecatedGetBlockByNumber(blockStore, state, int64(int(end)+i), full, readReceipts) + return DeprecatedGetBlockByNumber(blockStore, state, info.BlockMetas[i].Header.Height, full, readReceipts) } }