From a624ce69f7beba0d206b1dbfd4208d96e44711c1 Mon Sep 17 00:00:00 2001 From: tranvictor Date: Mon, 27 Feb 2017 21:45:57 +0700 Subject: internal/ethapi: fixes #2648, returns logsBloom for pending block --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 8f4bde471..08e9c7370 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -451,7 +451,7 @@ func (s *PublicBlockChainAPI) GetBlockByNumber(ctx context.Context, blockNr rpc. response, err := s.rpcOutputBlock(block, true, fullTx) if err == nil && blockNr == rpc.PendingBlockNumber { // Pending blocks need to nil out a few fields - for _, field := range []string{"hash", "nonce", "logsBloom", "miner"} { + for _, field := range []string{"hash", "nonce", "miner"} { response[field] = nil } } -- cgit v1.2.3