diff options
author | tranvictor <vu.tran54@gmail.com> | 2017-02-27 22:45:57 +0800 |
---|---|---|
committer | tranvictor <vu.tran54@gmail.com> | 2017-02-27 22:45:57 +0800 |
commit | a624ce69f7beba0d206b1dbfd4208d96e44711c1 (patch) | |
tree | d50b9c3d116d53d47ea6ac8ba9c8a757ebe0152f /internal | |
parent | e8b3e226124d2b0234c36ef2ca9221dc95c56a1a (diff) | |
download | go-tangerine-a624ce69f7beba0d206b1dbfd4208d96e44711c1.tar.gz go-tangerine-a624ce69f7beba0d206b1dbfd4208d96e44711c1.tar.zst go-tangerine-a624ce69f7beba0d206b1dbfd4208d96e44711c1.zip |
internal/ethapi: fixes #2648, returns logsBloom for pending block
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |