Skip to content

Commit 7fcdff0

Browse files
committed
fix(mbe): added etherscan api token as recovery params
TICKET: WP-5168
1 parent b254361 commit 7fcdff0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/api/master/handlers/recoveryWallet.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ export async function handleRecoveryWalletOnPrem(
271271
gasLimit,
272272
bitgoDestinationAddress: coinSpecificParams?.ecdsaEthLikeRecoverySpecificParams
273273
?.bitgoDestinationAddress as string,
274+
apiKey: coinSpecificParams?.ecdsaEthLikeRecoverySpecificParams?.apiKey
274275
};
275276
} else if (isCosmosLikeCoin(sdkCoin)) {
276277
params.cosmosLikeParams = {

src/api/master/routers/masterApiSpec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const RecoveryParamTypes = {
7979
ecdsaEthLikeRecoverySpecificParams: t.type({
8080
walletContractAddress: t.string,
8181
bitgoDestinationAddress: t.string,
82+
apiKey: t.string,
8283
}),
8384

8485
// ECDSA Cosmos-like recovery specific parameters

0 commit comments

Comments
 (0)