Skip to content

Commit

Permalink
fix RecipientAddress when fetching the event
Browse files Browse the repository at this point in the history
  • Loading branch information
tok-kkk committed Mar 24, 2022
1 parent 630fdf4 commit 606001f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watcher/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (fetcher ethFetcher) fetchLogBurnToChain(ctx context.Context, asset multich
TargetChain: targetChain,
Txid: iter.Event.Raw.TxHash.Bytes(),
Amount: pack.NewU256FromInt(iter.Event.Amount),
ToBytes: []byte(iter.Event.RecipientChain),
ToBytes: []byte(iter.Event.RecipientAddress),
Nonce: nonceBytes,
BlockNumber: pack.NewU64(iter.Event.Raw.BlockNumber),
}
Expand Down

0 comments on commit 606001f

Please sign in to comment.