diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-28 00:11:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 00:11:11 +0800 |
commit | fc97c7a38dc5193ef5e32de42235b6facf609c41 (patch) | |
tree | b12d8aa0bcf1207a6827183c4776c91f8a9bbee5 /internal | |
parent | 48bc07ae976a7940f75adaa68a4ea3887f5fad6c (diff) | |
parent | a624ce69f7beba0d206b1dbfd4208d96e44711c1 (diff) | |
download | dexon-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
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 } } |