aboutsummaryrefslogtreecommitdiff
path: root/js/TxUtils.js
diff options
context:
space:
mode:
authorb4n6-b4n6 <b4n6-b4n6@yogi.pro>2025-03-03 09:42:27 +0700
committerb4n6-b4n6 <b4n6-b4n6@yogi.pro>2025-03-03 09:45:44 +0700
commitda71a00be29b9414124a67f6e97cfcabe5a43519 (patch)
treec9ba0526f27234ab836c220d3465d3edd5ebf07f /js/TxUtils.js
parent08e2eafb7cfc18fc08f4b74885fa682001f12bca (diff)
downloadmonzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.gz
monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.xz
monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.zip
Remove unused JS variables
Diffstat (limited to 'js/TxUtils.js')
-rw-r--r--js/TxUtils.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/TxUtils.js b/js/TxUtils.js
index 7b028b3e..110342e8 100644
--- a/js/TxUtils.js
+++ b/js/TxUtils.js
@@ -21,7 +21,6 @@ function addressTruncatePretty(address, blocks){
if(typeof(address) === "undefined") return "";
if(typeof(blocks) === "undefined") blocks = 2;
blocks = blocks <= 1 ? 1 : blocks >= 23 ? 23 : blocks;
- var ret = "";
return address.substring(0, 4 * blocks).match(/.{1,4}/g).join(' ') + " .. " + address.substring(address.length - 4 * blocks).match(/.{1,4}/g).join(' ');
}