poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

(Improvement) Throw on attempt to use recalc_price #164

Closed phahulin closed 6 years ago

phahulin commented 6 years ago

It's best to explicitly avoid this part of code by throwing an exception, since it's not finished yet:

https://github.com/poanetwork/poa-popa/blob/e259cec1fcfcfdff30a52bffb395d845c774855b/web-dapp/server-lib/recalc_price.js#L20-L24