mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
removed lint error
This commit is contained in:
parent
1b941f3274
commit
9b29d13a5d
1 changed files with 2 additions and 0 deletions
|
|
@ -847,6 +847,7 @@ func (s *PublicBlockChainAPI) GetBlockByNumber(ctx context.Context, number rpc.B
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
response["miner"] = author
|
||||
}
|
||||
|
||||
|
|
@ -873,6 +874,7 @@ func (s *PublicBlockChainAPI) GetBlockByHash(ctx context.Context, hash common.Ha
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
response["miner"] = author
|
||||
|
||||
return s.appendRPCMarshalBorTransaction(ctx, block, response, fullTx), err
|
||||
|
|
|
|||
Loading…
Reference in a new issue