-fix method
This commit is contained in:
parent
a4112bae9e
commit
485f7d3603
@ -374,6 +374,7 @@ async function processDownloadProposal(
|
|||||||
});
|
});
|
||||||
|
|
||||||
const httpResponse = await ws.http.fetch(orderClaimUrl, {
|
const httpResponse = await ws.http.fetch(orderClaimUrl, {
|
||||||
|
method: "POST",
|
||||||
body: requestBody,
|
body: requestBody,
|
||||||
timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
|
timeout: getProposalRequestTimeout(retryRecord?.retryInfo),
|
||||||
});
|
});
|
||||||
|
@ -74,6 +74,7 @@ import {
|
|||||||
TombstoneTag,
|
TombstoneTag,
|
||||||
} from "./common.js";
|
} from "./common.js";
|
||||||
import {
|
import {
|
||||||
|
abortDepositGroup,
|
||||||
computeDepositTransactionStatus,
|
computeDepositTransactionStatus,
|
||||||
processDepositGroup,
|
processDepositGroup,
|
||||||
resumeDepositGroup,
|
resumeDepositGroup,
|
||||||
@ -1682,6 +1683,9 @@ export async function abortTransaction(
|
|||||||
await abortWithdrawalTransaction(ws, txId.withdrawalGroupId);
|
await abortWithdrawalTransaction(ws, txId.withdrawalGroupId);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case TransactionType.Deposit:
|
||||||
|
await abortDepositGroup(ws, txId.depositGroupId);
|
||||||
|
break;
|
||||||
default: {
|
default: {
|
||||||
const unknownTxType: any = txId.tag;
|
const unknownTxType: any = txId.tag;
|
||||||
throw Error(
|
throw Error(
|
||||||
|
Loading…
Reference in New Issue
Block a user