Skip to content

Commit

Permalink
Fix fast transfer to other chain message
Browse files Browse the repository at this point in the history
  • Loading branch information
kiseln committed Dec 9, 2024
1 parent 7aa8115 commit fa617c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion near/omni-bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,10 @@ impl Contract {

let destination_nonce =
self.get_next_destination_nonce(fast_transfer.recipient.get_chain());
self.current_origin_nonce += 1;

let transfer_message = TransferMessage {
origin_nonce: fast_transfer.transfer_id.origin_nonce,
origin_nonce: self.current_origin_nonce,
token: OmniAddress::Near(fast_transfer.token_id.clone()),
amount: fast_transfer.amount,
recipient: fast_transfer.recipient,
Expand Down

0 comments on commit fa617c4

Please sign in to comment.