Skip to content

Commit

Permalink
Merge pull request #1492 from cosmos/david/1487-local-testnet
Browse files Browse the repository at this point in the history
Fixed running of local testnet by creating workaround for SDK bug.
  • Loading branch information
jbibla authored Oct 25, 2018
2 parents 88b95b9 + d2bc967 commit 03056d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
* Fixed gaia binary not be found on linux and windows in development @faboweb
* [\#1419](https://github.com/cosmos/voyager/issues/1419) Restored "Amount" label to delegation modal. @NodeGuy
* Fixed upstream cross compilation issue from SDK @faboweb
* [\#1487](https://github.com/cosmos/voyager/issues/1487) Fixed running of local testnet. @NodeGuy

## [0.10.7] - 2018-10-10

Expand Down
7 changes: 6 additions & 1 deletion app/src/renderer/connectors/lcdClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ const Client = (axios, localLcdURL, remoteLcdURL) => {

seed: () => keys.get(`seed`),
set: argReq(`PUT`, `/keys`),
values: req(`GET`, `/keys`)

values: async () => {
const values = await req(`GET`, `/keys`)()
// Workaround for https://github.com/cosmos/cosmos-sdk/issues/2470
return values === `[]` ? [] : values
}
}

return {
Expand Down

0 comments on commit 03056d5

Please sign in to comment.