-type error

This commit is contained in:
Florian Dold 2023-05-30 09:35:58 +02:00
parent 0323067c07
commit d1dade4426
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,7 @@ import {
WithdrawalGroupStatus, WithdrawalGroupStatus,
WithdrawalRecordType, WithdrawalRecordType,
RefreshOperationStatus, RefreshOperationStatus,
TipRecordStatus,
} from "../../db.js"; } from "../../db.js";
import { InternalWalletState } from "../../internal-wallet-state.js"; import { InternalWalletState } from "../../internal-wallet-state.js";
import { assertUnreachable } from "../../util/assertUnreachable.js"; import { assertUnreachable } from "../../util/assertUnreachable.js";
@ -834,6 +835,7 @@ export async function importBackup(
tipExpiration: backupTip.timestamp_expiration, tipExpiration: backupTip.timestamp_expiration,
walletTipId: backupTip.wallet_tip_id, walletTipId: backupTip.wallet_tip_id,
denomSelUid: backupTip.selected_denoms_uid, denomSelUid: backupTip.selected_denoms_uid,
status: TipRecordStatus.Done, // FIXME!
}); });
} }
} }

View File

@ -334,6 +334,7 @@ export async function abortWithdrawalTransaction(
} }
return undefined; return undefined;
}); });
ws.workAvailable.trigger();
notifyTransition(ws, transactionId, transitionInfo); notifyTransition(ws, transactionId, transitionInfo);
} }