@@ -384,7 +384,6 @@ export default defineComponent({
384
384
// Unreachable, as Erc20AssetHandler does not fire onUpdate
385
385
} else {
386
386
updateSwap ({
387
- // @ts-expect-error Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
388
387
remoteFundingTx: tx ,
389
388
});
390
389
}
@@ -405,7 +404,6 @@ export default defineComponent({
405
404
updateSwap ({
406
405
state: SwapState .CREATE_OUTGOING ,
407
406
stateEnteredAt: Date .now (),
408
- // @ts-expect-error Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
409
407
remoteFundingTx ,
410
408
});
411
409
}
@@ -585,7 +583,6 @@ export default defineComponent({
585
583
activeSwap .value ! .fundingSerializedTx ! ,
586
584
(tx ) => {
587
585
updateSwap ({
588
- // @ts-expect-error Missmatch with PlainTransactionDetails from fastspot-api
589
586
fundingTx: tx as Transaction <SwapAsset .NIM | SwapAsset .BTC >,
590
587
});
591
588
currentError .value = null ;
@@ -607,7 +604,6 @@ export default defineComponent({
607
604
updateSwap ({
608
605
state: SwapState .AWAIT_SECRET ,
609
606
stateEnteredAt: Date .now (),
610
- // @ts-expect-error Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
611
607
fundingTx: fundingTx as Transaction <SwapAsset .NIM | SwapAsset .BTC >,
612
608
});
613
609
} catch (error : any ) {
@@ -898,7 +894,6 @@ export default defineComponent({
898
894
updateSwap ({
899
895
state: SwapState .COMPLETE ,
900
896
stateEnteredAt: Date .now (),
901
- // @ts-expect-error Missmatch with Nimiq.PlainTransactionDetails from fastspot-api
902
897
settlementTx:
903
898
settlementTx as Transaction <SwapAsset .NIM | SwapAsset .BTC | SwapAsset .EUR >,
904
899
});
0 commit comments