Skip to content

Commit

Permalink
Bug fixed on exporting keyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NginProject committed Nov 29, 2018
1 parent fb35920 commit cbc2c3c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion electron/geth/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ const DefaultGeth = {
pack: 'zip',
url: 'https://github.com/NginProject/ngind/releases/download/v0.1.4/ngind-windows-amd64.zip',
},
]
],
signatures: [
{
type: 'pgp',
url: 'https://github.com/NginProject/ngind/releases/download/v0.1.4/ngind-windows-amd64.zip.asc',
},
],
},
{
platform: 'linux',
Expand All @@ -24,6 +30,12 @@ const DefaultGeth = {
url: 'https://github.com/NginProject/ngind/releases/download/v0.1.4/ngind-linux-amd64.zip',
},
],
signatures: [
{
type: 'pgp',
url: 'https://github.com/NginProject/ngind/releases/download/v0.1.4/ngind-linux-amd64.zip.asc',
},
],
},
],
};
Expand Down
Binary file added ngWallet-cli
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/accounts/GenerateAccount/generateAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class GenerateAccount extends React.Component<Props, State> {
const fileData = {
filename: `${accountId}.json`,
mime: 'text/plain',
contents: result,
contents: JSON.stringify(result),
};

// Give encrypted key file to user
Expand Down
2 changes: 1 addition & 1 deletion src/components/accounts/SecondaryMenu/SecondaryMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default connect(
const fileData = {
filename: `${address}.json`,
mime: 'text/plain',
contents: result,
contents: JSON.stringify(result),
};

const blob = new Blob([fileData.contents], {type: fileData.mime});
Expand Down

0 comments on commit cbc2c3c

Please sign in to comment.