File tree 1 file changed +13
-1
lines changed
src/extension/panelControllers
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -319,11 +319,22 @@ export default class InvokeFilePanelController extends PanelControllerBase<
319
319
if ( ! account ) {
320
320
return ;
321
321
}
322
+ let witnessScope = await IoHelpers . multipleChoice (
323
+ "Select the witness scope for the transaction signature" ,
324
+ "CalledByEntry" ,
325
+ "Global" ,
326
+ "None"
327
+ ) ;
328
+ if ( ! witnessScope ) {
329
+ return ;
330
+ }
322
331
await this . document . save ( ) ;
323
332
await this . updateViewState ( { collapseTransactions : false } ) ;
324
333
const result = await this . neoExpress . run (
325
334
"contract" ,
326
335
"invoke" ,
336
+ "-w" ,
337
+ witnessScope ,
327
338
"-i" ,
328
339
connection . blockchainIdentifier . configPath ,
329
340
path ,
@@ -425,7 +436,8 @@ export default class InvokeFilePanelController extends PanelControllerBase<
425
436
}
426
437
427
438
if ( connection ) {
428
- const wallets = await connection . blockchainIdentifier . getWalletAddresses ( ) ;
439
+ const wallets =
440
+ await connection . blockchainIdentifier . getWalletAddresses ( ) ;
429
441
const signerWalletName = await IoHelpers . multipleChoice (
430
442
"Select an account" ,
431
443
"(none)" ,
You can’t perform that action at this time.
0 commit comments