diff --git a/modules/sdk-core/src/bitgo/utils/mpcUtils.ts b/modules/sdk-core/src/bitgo/utils/mpcUtils.ts index e827d29668..ed19e12f56 100644 --- a/modules/sdk-core/src/bitgo/utils/mpcUtils.ts +++ b/modules/sdk-core/src/bitgo/utils/mpcUtils.ts @@ -169,7 +169,7 @@ export abstract class MpcUtils { } if ( - ['transferOfferWithdrawn', 'allocationAllocateWithdrawn'].includes(params.intentType) && + ['transferOfferWithdrawn', 'allocationOfferWithdrawn'].includes(params.intentType) && baseCoin.getFamily() === 'canton' ) { assert(params.transferOfferId, `'transferOfferId' is required parameter for ${params.intentType} intent`); @@ -212,7 +212,7 @@ export abstract class MpcUtils { 'transferOfferWithdrawn', 'cosignDelegationAccept', 'allocationAllocate', - 'allocationAllocateWithdrawn', + 'allocationOfferWithdrawn', 'bridgeFunds', 'cantonCommand', 'cantonEndInvestorOnboardingOffer', diff --git a/modules/sdk-core/src/bitgo/wallet/wallet.ts b/modules/sdk-core/src/bitgo/wallet/wallet.ts index a5cb336524..407332e102 100644 --- a/modules/sdk-core/src/bitgo/wallet/wallet.ts +++ b/modules/sdk-core/src/bitgo/wallet/wallet.ts @@ -4254,11 +4254,11 @@ export class Wallet implements IWallet { ); break; } - case 'allocationAllocateWithdrawn': { + case 'allocationOfferWithdrawn': { txRequest = await this.tssUtils!.prebuildTxWithIntent( { reqId, - intentType: 'allocationAllocateWithdrawn', + intentType: 'allocationOfferWithdrawn', transferOfferId: params.transferOfferId, sequenceId: params.transferOfferId, },