Skip to content

Commit f0d82be

Browse files
committed
fix *string bug
1 parent df7519b commit f0d82be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (c *Client) ERC1155Transfers(contractAddress, address *string, startBlock *
158158
}
159159

160160
// SwapTransactions get a list of transaction
161-
func (c *Client) SwapTransactions(address *string, startBlock *int, endBlock *int, page int, offset int, desc bool) (txs []SwapTransaction, err error) {
161+
func (c *Client) SwapTransactions(address string, startBlock *int, endBlock *int, page int, offset int, desc bool) (txs []SwapTransaction, err error) {
162162
param := M{
163163
"page": page,
164164
"offset": offset,

0 commit comments

Comments
 (0)