Skip to content

Commit 2a1b560

Browse files
committed
fix
1 parent 3ba6385 commit 2a1b560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transfer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ func transfer(mpk string, w Wallet, val string, ec *ethclient.Client) TxRecord {
7474
if err != nil {
7575
txR.ErrMsg = err.Error()
7676
} else {
77-
_, err = waitForTransactionConfirmation(ec, txHash)
77+
_, err = WaitForTransactionConfirmation(ec, txHash)
7878
if err != nil {
7979
txR.ErrMsg = err.Error()
8080
}
8181
}
8282
return txR
8383
}
84-
func waitForTransactionConfirmation(client *ethclient.Client, txHash common.Hash) (*types.Receipt, error) {
84+
func WaitForTransactionConfirmation(client *ethclient.Client, txHash common.Hash) (*types.Receipt, error) {
8585
var receipt *types.Receipt
8686
var err error
8787

0 commit comments

Comments
 (0)