@@ -32,11 +32,14 @@ import {
3232 NormalizedSummary ,
3333 TxStatusMessage ,
3434 FlyoverStatusModel ,
35+ TxStatus ,
3536} from ' @/common/types' ;
3637import EnvironmentContextProviderService from ' @/common/providers/EnvironmentContextProvider' ;
3738import * as constants from ' @/common/store/constants' ;
3839import { getTime , setStatusMessage , toSatoshiBigIntString } from ' @/common/utils' ;
39- import { useAction , useGetter , useStateAttribute } from ' @/common/store/helper' ;
40+ import {
41+ useAction , useGetter , useStateAttribute ,
42+ } from ' @/common/store/helper' ;
4043import StatusProgressBar from ' @/common/components/status/StatusProgressBar.vue' ;
4144import { EnvironmentAccessorService } from ' @/common/services/enviroment-accessor.service' ;
4245import StatusSummary from ' @/common/components/status/StatusSummary.vue' ;
@@ -97,6 +100,7 @@ export default defineComponent({
97100 const environmentContext = EnvironmentContextProviderService .getEnvironmentContext ();
98101
99102 const txDetails = useStateAttribute <PeginStatus | FlyoverStatusModel >(' status' , ' txDetails' );
103+ const flyoverStatus = useStateAttribute <TxStatus [' flyoverStatus' ]>(' status' , ' flyoverStatus' );
100104 const isRejected = useGetter <boolean >(' status' , constants .STATUS_IS_REJECTED );
101105 const setAmount = useAction (' pegInTx' , constants .PEGIN_TX_ADD_AMOUNT_TO_TRANSFER );
102106 const peginInit = useAction (' pegInTx' , constants .PEGIN_TX_INIT );
@@ -122,7 +126,7 @@ export default defineComponent({
122126 amountReceivedString: status .btc .amountTransferred .toString (),
123127 fee: status .btc .fees ,
124128 recipientAddress: status .rsk .recipientAddress ,
125- txId : status .btc .txId ,
129+ btcTxId : status .btc .txId ,
126130 refundAddress: status .btc .refundAddress ,
127131 federationAddress: status .btc .federationAddress ,
128132 total: total .toBTCTrimmedString (),
@@ -144,7 +148,8 @@ export default defineComponent({
144148 fee: status .fee ,
145149 recipientAddress: status .recipientAddress ,
146150 senderAddress: status .senderAddress ,
147- txId: status .txHash ,
151+ txId: flyoverStatus .value ?.txId ,
152+ btcTxId: status .txHash ,
148153 };
149154 });
150155
0 commit comments