diff --git a/app.js b/app.js index 12164c6..15d78e2 100644 --- a/app.js +++ b/app.js @@ -85,7 +85,7 @@ app.use('/ext/getaddress/:hash', function(req,res){ }); app.use('/ext/gettx/:txid', function(req, res) { - var txid = req.param('txid'); + var txid = req.params.txid; db.get_tx(txid, function(tx) { if (tx) { lib.get_blockcount(function(blockcount) {