aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authortranvictor <vu.tran54@gmail.com>2017-02-27 22:45:57 +0800
committertranvictor <vu.tran54@gmail.com>2017-02-27 22:45:57 +0800
commita624ce69f7beba0d206b1dbfd4208d96e44711c1 (patch)
treed50b9c3d116d53d47ea6ac8ba9c8a757ebe0152f /internal
parente8b3e226124d2b0234c36ef2ca9221dc95c56a1a (diff)
downloadgo-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.go2
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
}
}