Address Labels -> Claim Address
This commit is contained in:
+3
-3
@@ -117,7 +117,7 @@ module.exports = {
|
||||
} else {
|
||||
client.cmd([{method:'getblockhash', params: [parseInt(height)]}], function(err, response){
|
||||
if (err)
|
||||
console.log('There was an error. Check your console.');
|
||||
return cb('There was an error. Check your console.');
|
||||
else
|
||||
return cb(response);
|
||||
});
|
||||
@@ -133,7 +133,7 @@ module.exports = {
|
||||
} else {
|
||||
client.cmd([{method:'getblock', params: [hash]}], function(err, response){
|
||||
if (err)
|
||||
console.log('There was an error. Check your console.');
|
||||
return cb('There was an error. Check your console.');
|
||||
else
|
||||
return cb(response);
|
||||
});
|
||||
@@ -149,7 +149,7 @@ module.exports = {
|
||||
} else {
|
||||
client.cmd([{method:'getrawtransaction', params: [hash, 1]}], function(err, response){
|
||||
if (err)
|
||||
console.log('There was an error. Check your console.');
|
||||
return cb('There was an error. Check your console.');
|
||||
else
|
||||
return cb(response);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user