-fix method

This commit is contained in:
Florian Dold 2023-05-25 18:23:47 +02:00
parent a4112bae9e
commit 485f7d3603
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 5 additions and 0 deletions

View File

@ -374,6 +374,7 @@ async function processDownloadProposal(
});
const httpResponse = await ws.http.fetch(orderClaimUrl, {
method: "POST",
body: requestBody,
timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
});

View File

@ -74,6 +74,7 @@ import {
TombstoneTag,
} from "./common.js";
import {
abortDepositGroup,
computeDepositTransactionStatus,
processDepositGroup,
resumeDepositGroup,
@ -1682,6 +1683,9 @@ export async function abortTransaction(
await abortWithdrawalTransaction(ws, txId.withdrawalGroupId);
break;
}
case TransactionType.Deposit:
await abortDepositGroup(ws, txId.depositGroupId);
break;
default: {
const unknownTxType: any = txId.tag;
throw Error(