File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
neuron-ui/src/components/MultisigAddress
neuron-wallet/src/controllers Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -225,14 +225,17 @@ const MultisigAddress = () => {
225225 if ( ! config . isLegacy && [ 'regenerate' ] . includes ( item . key ) ) {
226226 return
227227 }
228- if ( ! multisigBanlances [ config . fullPayload ] || multisigBanlances [ config . fullPayload ] === '0' ) {
228+ if (
229+ item . key === 'send' &&
230+ ( ! multisigBanlances [ config . fullPayload ] || multisigBanlances [ config . fullPayload ] === '0' )
231+ ) {
229232 options . push ( {
230233 ...item ,
231- disabled : item . disabled || item . key === 'send' ,
234+ disabled : true ,
232235 } )
233- } else {
234- options . push ( item )
236+ return
235237 }
238+ options . push ( item )
236239 } )
237240 return options
238241 } ,
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ export default class MultisigController {
195195 n : config . sighash_addresses . length ,
196196 blake160s : config . sighash_addresses . map ( v => addressToScript ( v ) . args ) ,
197197 walletId,
198- alias : config . alias ,
198+ alias : config . alias as string ,
199199 lockCodeHash : config . lockCodeHash ,
200200 } )
201201 }
You can’t perform that action at this time.
0 commit comments