You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var common = {};
|
|
|
|
common.lnd_server_url = '';
|
|
|
|
common.convertToBTC = (num) => {
|
|
return (num / 100000000).toFixed(6);
|
|
};
|
|
|
|
common.convertTimestampToDate = (num) => {
|
|
return new Date(+num*1000).toUTCString();
|
|
};
|
|
|
|
module.exports = common;
|