File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -346,14 +346,14 @@ export class NTTWatcher extends Watcher {
346
346
) ;
347
347
const sourceToken : string =
348
348
transceiverMessage . ntt_managerPayload . payload . sourceToken . toString ( 'hex' ) ;
349
- const decimals = transceiverMessage . ntt_managerPayload . payload . trimmedAmount . decimals ;
350
- const amount = transceiverMessage . ntt_managerPayload . payload . trimmedAmount . amount ;
351
- const trimmedAmount : TrimmedAmount = new TrimmedAmount ( amount , decimals ) ;
352
349
const lc : LifeCycle = {
353
350
srcChainId : chainToChainId ( this . chain ) ,
354
351
destChainId : decodedTransfer . recipientChain ,
355
352
sourceToken,
356
- tokenAmount : trimmedAmount . normalize ( NTT_DECIMALS ) ,
353
+ tokenAmount :
354
+ transceiverMessage . ntt_managerPayload . payload . trimmedAmount . normalize (
355
+ NTT_DECIMALS
356
+ ) ,
357
357
transferSentTxhash : txhash . startsWith ( '0x' ) ? txhash . slice ( 2 ) : txhash ,
358
358
transferBlockHeight : BigInt ( blockNumber ) ,
359
359
redeemedTxhash : '' ,
You can’t perform that action at this time.
0 commit comments