diff options
author | Todd Stock <[email protected]> | 2020-11-21 12:07:18 -0500 |
---|---|---|
committer | Todd Stock <[email protected]> | 2020-11-21 12:07:18 -0500 |
commit | 7ec00e3668f99df1d041b63ebcdfb718275a52b0 (patch) | |
tree | fe499041d4e757994ed24aff081ad06b2cab140f /ethclient/ethclient.go | |
parent | 0686a2ed5af2da04f06b8ebae9a4cbe0d9f2b212 (diff) |
format
Diffstat (limited to 'ethclient/ethclient.go')
-rw-r--r-- | ethclient/ethclient.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index dfd260c..deafa54 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -97,11 +97,11 @@ func (ec *Client) BlockNumber(ctx context.Context) (uint64, error) { } type rpcBlock struct { - Hash common.Hash `json:"hash"` - Transactions []rpcTransaction `json:"transactions"` - UncleHashes []common.Hash `json:"uncles"` - Version uint32 `json:"version"` - BlockExtraData *[]byte `json:"blockExtraData"` + Hash common.Hash `json:"hash"` + Transactions []rpcTransaction `json:"transactions"` + UncleHashes []common.Hash `json:"uncles"` + Version uint32 `json:"version"` + BlockExtraData *[]byte `json:"blockExtraData"` } func (ec *Client) getBlock(ctx context.Context, method string, args ...interface{}) (*types.Block, error) { |