aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/transactions.js b/routes/transactions.js
index 171163bc..ed45cbf0 100644
--- a/routes/transactions.js
+++ b/routes/transactions.js
@@ -28,7 +28,7 @@
txid = function() {
var x;
x = transactions[i++];
- if (typeof x !== "number") {
+ if (isNaN(parseInt(x))) {
return x;
}
return user + ":transactions:" + x;