Skip to content

Commit a617f47

Browse files
committed
fix
1 parent 923eb74 commit a617f47

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
@@ -95,9 +95,9 @@ func Transfer(pk string, to string, val string, data []byte, ec *ethclient.Clien
9595
if err != nil {
9696
return common.Hash{}, err
9797
}
98-
err = ec.SendTransaction(context.Background(), signedTx)
9998
fmt.Println("signedTx.Hash()", signedTx.Hash().String())
10099
fmt.Println("txn.Hash()", txn.Hash().String())
100+
err = ec.SendTransaction(context.Background(), signedTx)
101101
return txn.Hash(), err
102102
}
103103
func WaitForTransactionConfirmation(client *ethclient.Client, txHash common.Hash) (*types.Receipt, error) {

0 commit comments

Comments
 (0)