File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
ironfish-cli/src/commands/wallet/multisig Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ export class CreateSigningCommitmentCommand extends IronfishCommand {
53
53
const client = await this . connectRpc ( )
54
54
await ui . checkWalletUnlocked ( client )
55
55
56
- let participantName = flags . account
57
- if ( ! participantName ) {
58
- participantName = await ui . multisigSecretPrompt ( client )
56
+ let accountName = flags . account
57
+ if ( ! accountName ) {
58
+ accountName = await ui . multisigAccountPrompt ( client )
59
59
}
60
60
61
61
let identities = options . identity
@@ -88,7 +88,7 @@ export class CreateSigningCommitmentCommand extends IronfishCommand {
88
88
await renderUnsignedTransactionDetails (
89
89
client ,
90
90
unsignedTransaction ,
91
- participantName ,
91
+ accountName ,
92
92
this . logger ,
93
93
)
94
94
@@ -100,7 +100,7 @@ export class CreateSigningCommitmentCommand extends IronfishCommand {
100
100
}
101
101
102
102
const response = await client . wallet . multisig . createSigningCommitment ( {
103
- account : participantName ,
103
+ account : accountName ,
104
104
unsignedTransaction : unsignedTransactionInput ,
105
105
signers : identities . map ( ( identity ) => ( { identity } ) ) ,
106
106
} )
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ export class CreateSignatureShareCommand extends IronfishCommand {
46
46
const client = await this . connectRpc ( )
47
47
await ui . checkWalletUnlocked ( client )
48
48
49
- let participantName = flags . account
50
- if ( ! participantName ) {
51
- participantName = await ui . multisigSecretPrompt ( client )
49
+ let accountName = flags . account
50
+ if ( ! accountName ) {
51
+ accountName = await ui . multisigAccountPrompt ( client )
52
52
}
53
53
54
54
let signingPackageString = options . signingPackage
@@ -66,7 +66,7 @@ export class CreateSignatureShareCommand extends IronfishCommand {
66
66
await renderUnsignedTransactionDetails (
67
67
client ,
68
68
unsignedTransaction ,
69
- participantName ,
69
+ accountName ,
70
70
this . logger ,
71
71
)
72
72
@@ -83,7 +83,7 @@ export class CreateSignatureShareCommand extends IronfishCommand {
83
83
}
84
84
85
85
const signatureShareResponse = await client . wallet . multisig . createSignatureShare ( {
86
- account : participantName ,
86
+ account : accountName ,
87
87
signingPackage : signingPackageString ,
88
88
} )
89
89
You can’t perform that action at this time.
0 commit comments