Skip to content

Commit afc2067

Browse files
committed
return signTx
1 parent a617f47 commit afc2067

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/tx/transfer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ func Transfer(pk string, to string, val string, data []byte, ec *ethclient.Clien
9595
if err != nil {
9696
return common.Hash{}, err
9797
}
98-
fmt.Println("signedTx.Hash()", signedTx.Hash().String())
99-
fmt.Println("txn.Hash()", txn.Hash().String())
98+
//fmt.Println("signedTx.Hash()", signedTx.Hash().String())
99+
//fmt.Println("txn.Hash()", txn.Hash().String())
100100
err = ec.SendTransaction(context.Background(), signedTx)
101-
return txn.Hash(), err
101+
return signedTx.Hash(), err
102102
}
103103
func WaitForTransactionConfirmation(client *ethclient.Client, txHash common.Hash) (*types.Receipt, error) {
104104
var receipt *types.Receipt

0 commit comments

Comments
 (0)