Make tank.remainingTransactions work with point number strings
commite6846fa845eb1ffdfa8f233a649315d29f0fe431
authorFang <git@fang.io>
dateWed 8 May 2019, 01:09 (7 years ago)
parent6f0da3a
src/bridge/lib/tank.js+1
@@ -26,6 +26,7 @@ function sendRequest(where, what) {
2626}
2727
2828const remainingTransactions = point => {
29+ if (typeof point === 'string') point = Number(point);
2930 return sendRequest('/point', {point:point});
3031};
3132