Skip to content

Commit

Permalink
fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarveshwar Singh committed Jan 18, 2020
1 parent 8c63b76 commit f338b6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/actions.js
Expand Up @@ -389,7 +389,6 @@ export const showErrorDialog = (
dialog: Object,
intl: ?intlShape,
msgOptions?: Object,
// $FlowFixMe
): Promise<DialogButton> => {
let title, message, yesButton
if (intl != null) {
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/wallet.js
Expand Up @@ -153,7 +153,7 @@ export class Wallet {
this._externalChain.addSubscriberToNewAddresses(this.notify)
}

async _create(mnemonic: string, newPassword: string, isShelleyWallet: boolean) {
async _create(mnemonic: string, newPassword: string, isShelleyWallet?: boolean = false) {
Logger.info('create wallet')
this._id = uuid.v4()
assert.assert(!this._isInitialized, 'createWallet: !isInitialized')
Expand Down

0 comments on commit f338b6c

Please sign in to comment.