Skip to content

Commit 29bfd2f

Browse files
committed
chore(mbe): add dev docs for generate wallet req
Also adds walletVersion to the list of params. Ticket: WP-5335
1 parent 9a7d8c3 commit 29bfd2f

File tree

3 files changed

+607
-1
lines changed

3 files changed

+607
-1
lines changed

src/__tests__/api/master/eddsa.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { AdvancedWalletManagerClient as AdvancedWalletManagerClient } from '../.
1616
import { handleEddsaSigning } from '../../../api/master/handlers/eddsa';
1717
import { readKey } from 'openpgp';
1818

19-
// TODO: Re-enable once using EDDSA Custom signing fns
2019
describe('Eddsa Signing Handler', () => {
2120
let bitgo: BitGoBase;
2221
let wallet: Wallet;

src/api/master/handlers/generateWallet.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ async function handleGenerateOnPremOnChainWallet(
4848

4949
// Create wallet parameters with type assertion to allow 'onprem' subtype
5050
const walletParams = {
51+
...req.decoded,
5152
label: label,
5253
m: 2,
5354
n: 3,
@@ -157,6 +158,7 @@ async function handleGenerateOnPremMpcWallet(
157158
const { label, enterprise } = req.decoded;
158159

159160
const walletParams: SupplementGenerateWalletOptions = {
161+
...req.decoded,
160162
label: label,
161163
m: 2,
162164
n: 3,

0 commit comments

Comments
 (0)