Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Get Blockchain Nethash from API to allow sending transactions on testnet custom node #830

Closed
slaweet opened this issue Oct 4, 2017 · 1 comment

Comments

@slaweet
Copy link
Contributor

slaweet commented Oct 4, 2017

Expected behaviour

Lisk Nano should get the nethash from /api/blocks/getNethash when user logs in into a Custom node, because there we use Mainnet nethash, but it could be also a testnet nethash.

Actual behaviour

Lisk Nano has hadrcoded the nethash for localhost development
https://github.com/LiskHQ/lisk-nano/blob/aa38811b75f310beabad3c69dfe6ad4dfd5b4213/src/components/login/networks.js#L18-L21

lisk-js is hardcoding the nethash for Mainnet and Testnet, so that's taken care of, but Lisk Nano doesn't handle nethash for Custom Node.

@slaweet
Copy link
Contributor Author

slaweet commented Oct 4, 2017

activePeerSet action is a place to look at.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants