Address Labels -> Claim Address

This commit is contained in:
joeuhren
2020-11-22 14:39:10 -07:00
parent a22ea7c484
commit a66f9cb7e4
9 changed files with 202 additions and 28 deletions
+12
View File
@@ -330,6 +330,18 @@ module.exports = {
});
},
update_label: function(hash, message, cb){
find_address(hash, false, function(address){
if (address){
Address.updateOne({a_id:hash}, {
name: message,
}, function(){
return cb();
});
}
});
},
check_stats: function(coin, cb) {
Stats.findOne({coin: coin}, function(err, stats) {
if(stats) {