Skip to content

Commit de739dc

Browse files
committed
fixbug
1 parent 3c5c147 commit de739dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package etherscan
22

33
// GetLogs gets a list of log for a single address
44
// startBlock and endBlock cann`t be nil
5-
func (c *Client) GetLogs(address string, fromBlock string, toBlock string, topic0 string) (logs []Log, err error) {
5+
func (c *Client) GetLogs(address *string, fromBlock string, toBlock string, topic0 string) (logs []Log, err error) {
66
param := M{
77
"fromBlock": fromBlock,
88
"toBlock": toBlock,

0 commit comments

Comments
 (0)