remove copypasta code

This commit is contained in:
Manuel Araoz 2015-03-10 19:24:49 -03:00
parent b3a247cfc1
commit 0002be1894

View File

@ -19,20 +19,6 @@ Addresses.setNode = function(aNode) {
* params
*/
/*
* Finds a block by its hash
*/
Addresses.blockHashParam = function(req, res, next, blockHash) {
node.getBlock(blockHash)
.then(function(block) {
req.block = block;
})
.then(next)
.catch(BitcoreNode.errors.Addresses.NotFound, function() {
res.status(404).send('Block with id ' + blockHash + ' not found');
});
};
/*
* Finds an address' info by it's string representation
*/