Skip to content

Commit e8b46b8

Browse files
committed
use const
1 parent a3583a8 commit e8b46b8

17 files changed

+1779
-1769
lines changed

assets_js_bitrequest_bip39.js

Lines changed: 168 additions & 171 deletions
Large diffs are not rendered by default.

assets_js_bitrequest_coin_settings.js

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

assets_js_bitrequest_config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ const glob_apptitle = "Bitrequest",
683683
"ccsymbol": "eth",
684684
"cmcid": 1027,
685685
"urlscheme": function(payment, address, amount, iszero) {
686-
let amnt = (iszero === true) ? "" : "?value=" + tofixedspecial((parseFloat(amount) * 1000000000000000000).toString(), 0);
686+
const amnt = (iszero === true) ? "" : "?value=" + tofixedspecial((parseFloat(amount) * 1000000000000000000).toString(), 0);
687687
return payment + ":" + address + amnt;
688688
},
689689
"address_regex": "^0x[a-fA-F0-9]{40}$"
@@ -822,7 +822,7 @@ const glob_apptitle = "Bitrequest",
822822
"ccsymbol": "xno",
823823
"cmcid": 1567,
824824
"urlscheme": function(payment, address, amount, iszero) {
825-
let amnt = (iszero === true) ? "" : "?amount=" + NanocurrencyWeb.tools.convert(amount, "NANO", "RAW");
825+
const amnt = (iszero === true) ? "" : "?amount=" + NanocurrencyWeb.tools.convert(amount, "NANO", "RAW");
826826
return "nano:" + address + amnt;
827827
},
828828
"address_regex": "^(xrb|nano)_([a-z1-9]{60})$"

0 commit comments

Comments
 (0)