SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
365 stars 69 forks source link

Fix issue 118, curl http_code sometimes is 000 but it's an invalid JS… #119

Closed Kexkey closed 5 years ago

Kexkey commented 5 years ago

…ON number

Kexkey commented 5 years ago

Fixes issue #118

Kexkey commented 5 years ago

For the record:

/proxy # [ "000" -eq "0" ] && echo "yes"
yes
/proxy # [ "000" -eq "0000000000" ] && echo "yes"
yes
/proxy # [ "000" -eq "0000001" ] && echo "yes"
/proxy # [ "001" -eq "0000001" ] && echo "yes"
yes
/proxy #