Skip to content

Commit a21ffb7

Browse files
author
NullpointerW
committed
fix
1 parent 38a728d commit a21ffb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tx/transfer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func Transfer(pk string, to string, val string, data []byte, ec *ethclient.Clien
6464
Gas: 0,
6565
GasPrice: maxFeePerGas,
6666
Value: wei,
67-
Data: nil,
67+
Data: data,
6868
}
6969

7070
estimatedGas, err := ec.EstimateGas(context.Background(), msg)

0 commit comments

Comments
 (0)