aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-28 00:11:11 +0800
committerGitHub <noreply@github.com>2017-02-28 00:11:11 +0800
commitfc97c7a38dc5193ef5e32de42235b6facf609c41 (patch)
treeb12d8aa0bcf1207a6827183c4776c91f8a9bbee5
parent48bc07ae976a7940f75adaa68a4ea3887f5fad6c (diff)
parenta624ce69f7beba0d206b1dbfd4208d96e44711c1 (diff)
downloaddexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar.gz
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar.bz2
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar.lz
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar.xz
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.tar.zst
dexon-fc97c7a38dc5193ef5e32de42235b6facf609c41.zip
Merge pull request #3717 from tranvictor/master
internal/ethapi: return logsBloom for pending block
-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
}
}