From 0c4c7f491896bd7573d2e6bc7a35f76fe81e8600 Mon Sep 17 00:00:00 2001 From: Pan chao <152830401+Pan-chao@users.noreply.github.com> Date: Wed, 17 Jan 2024 01:28:23 +0000 Subject: [PATCH] complete transfer --- sui/token_bridge/sources/complete_transfer_with_payload.move | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sui/token_bridge/sources/complete_transfer_with_payload.move b/sui/token_bridge/sources/complete_transfer_with_payload.move index da4c845c8..18b2f7975 100644 --- a/sui/token_bridge/sources/complete_transfer_with_payload.move +++ b/sui/token_bridge/sources/complete_transfer_with_payload.move @@ -49,7 +49,7 @@ module token_bridge::complete_transfer_with_payload { /// redeemed using `redeem_coin`. Integrators are expected to implement /// `redeem_coin` within their contracts and call `authorize_transfer` in a /// transaction block preceding the method that consumes this receipt. The - /// only way to destroy this receipt is callling `redeem_coin` with an + /// only way to destroy this receipt is calling `redeem_coin` with an /// `EmitterCap` generated from the `wormhole::emitter` module, whose ID is /// the expected redeemer for this token transfer. struct RedeemerReceipt { @@ -290,7 +290,7 @@ module token_bridge::complete_transfer_with_payload_tests { // Assert coin value, source chain, and parsed transfer details are correct. // We expect the coin value to be 300000, because that's in terms of - // 10 decimals. The amount specifed in the VAA_ATTESTED_DECIMALS_12 is 3000, because that's + // 10 decimals. The amount specified in the VAA_ATTESTED_DECIMALS_12 is 3000, because that's // in terms of 8 decimals. let expected_bridged = 300000; assert!(coin::value(&bridged) == expected_bridged, 0);