Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: transaction submit when invalid password (#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Feb 26, 2020
1 parent 2c784b3 commit c6c6f39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/Transaction/TransactionForm/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ export default {
}

this.showEncryptLoader = false

if (!this.form.wif) {
return
}
}

this.submit()
Expand Down
18 changes: 8 additions & 10 deletions src/renderer/i18n/locales/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,19 +974,17 @@ export default {
SECOND_SIGNATURE: 'Second Signature transaction could not be created',
DELEGATE_REGISTRATION: 'Delegate Registration transaction could not be created',
VOTE: 'Vote transaction could not be created',
MULTI_SIGN: 'Could not multisign transaction',
MULTI_SIGNATURE: 'Multisignature transaction could not be created',
MULTI_PAYMENT: 'Multipayment transaction could not be created',
IPFS: 'IPFS transaction could not be created',
DELEGATE_RESIGNATION: 'Delegate Resignation transaction could not be created',
BUSINESS: {
REGISTRATION: 'Business Registration transaction could not be created',
RESIGNATION: 'Business Resignation transaction could not be created',
UPDATE: 'Business Update transaction could not be created'
},
BRIDGECHAIN: {
REGISTRATION: 'Bridgechain Registration transaction could not be created',
RESIGNATION: 'Bridgechain Resignation transaction could not be created',
UPDATE: 'Bridgechain Update transaction could not be created'
}
BUSINESS_REGISTRATION: 'Business Registration transaction could not be created',
BUSINESS_RESIGNATION: 'Business Resignation transaction could not be created',
BUSINESS_UPDATE: 'Business Update transaction could not be created',
BRIDGECHAIN_REGISTRATION: 'Bridgechain Registration transaction could not be created',
BRIDGECHAIN_RESIGNATION: 'Bridgechain Resignation transaction could not be created',
BRIDGECHAIN_UPDATE: 'Bridgechain Update transaction could not be created'
},
TRANSFER: 'Your transaction could not be sent',
SECOND_SIGNATURE: 'Second signature could not be registered',
Expand Down

0 comments on commit c6c6f39

Please sign in to comment.