aboutsummaryrefslogtreecommitdiff
path: root/ethclient
diff options
context:
space:
mode:
authorTodd Stock <[email protected]>2020-11-21 12:07:18 -0500
committerTodd Stock <[email protected]>2020-11-21 12:07:18 -0500
commit7ec00e3668f99df1d041b63ebcdfb718275a52b0 (patch)
treefe499041d4e757994ed24aff081ad06b2cab140f /ethclient
parent0686a2ed5af2da04f06b8ebae9a4cbe0d9f2b212 (diff)
format
Diffstat (limited to 'ethclient')
-rw-r--r--ethclient/ethclient.go10
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) {