Skip to content

Commit

Permalink
Merge pull request #123 from siovanus/fixripple
Browse files Browse the repository at this point in the history
fix ripple
  • Loading branch information
dylenfu authored Apr 25, 2023
2 parents 49836d0 + 0b39a39 commit 4d92f00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/native/cross_chain_manager/ripple/ripple_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ func (this *RippleHandler) ReconstructTx(service *native.NativeContract) error {
if err != nil {
return fmt.Errorf("ReconstructTx, data.Raw error: %s", err)
}

//store txJson info
PutTxJsonInfo(service, params.FromChainId, params.TxHash, hex.EncodeToString(newRaw))

err = service.AddNotify(scom.ABI, []string{cross_chain_manager_abi.EventRippleTx}, params.FromChainId, params.ToChainId,
hex.EncodeToString(params.TxHash), hex.EncodeToString(newRaw), payment.Sequence)
if err != nil {
Expand Down

0 comments on commit 4d92f00

Please sign in to comment.