Skip to content

Commit

Permalink
add index to migrate CCTX
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 11, 2023
1 parent 33be96f commit 0f7cb3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,12 +521,9 @@ func (ob *EVMChainClient) observeOutTx() {
}

receipt, transaction, err := ob.queryTxByHash(txHash.TxHash, nonceInt)
fmt.Println("receipt, transaction, err", receipt.BlockNumber.String(), transaction.To().Hex(), err)
fmt.Println("ob.GetTxID(nonceInt)", ob.GetTxID(nonceInt))
time.Sleep(time.Duration(rpcRestTime) * time.Millisecond)
if err == nil && receipt != nil { // confirmed
ob.mu.Lock()
fmt.Println("Adding TX receipt to map")
ob.outTXConfirmedReceipts[ob.GetTxID(nonceInt)] = receipt
ob.outTXConfirmedTransaction[ob.GetTxID(nonceInt)] = transaction
ob.mu.Unlock()
Expand Down

0 comments on commit 0f7cb3d

Please sign in to comment.