HathorNetwork / hathor-wallet-service-old

MIT License
4 stars 4 forks source link

fix: network name in the version information payload from testnet instance #439

Open alexruzenhack opened 9 months ago

alexruzenhack commented 9 months ago

When we call the /version endpoint we receive the following output:

> curl https://wallet-service.testnet.hathor.network/version
{"success":true,"data":{"timestamp":1701441593,"version":"0.57.0","network":"testnet-","minWeight":8,"minTxWeight":8,"minTxWeightCoefficient":0,"minTxWeightK":0,"tokenDepositPercentage":0.01,"rewardSpendMinBlocks":300,"maxNumberInputs":255,"maxNumberOutputs":255}}

The network value comes with a truncated network name testnet-, while the complete name should be testnet-golf.