Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' into release-3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
whilei committed May 5, 2017
2 parents fe5fe34 + c835d2a commit 712e861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Expand Up @@ -575,7 +575,7 @@ func (s *PublicBlockChainAPI) GetBlockByNumber(blockNr rpc.BlockNumber, fullTx b
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
}
}
Expand Down

0 comments on commit 712e861

Please sign in to comment.