From 3de0e94e1343df0ce2cc8f39de53b1eef87b0a84 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 3 Dec 2015 20:24:37 -0800 Subject: Derive BIP44 wallets from BIP39 seeds on registration, clean up wallet page --- public/js/setup.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'public/js/setup.js') diff --git a/public/js/setup.js b/public/js/setup.js index a8f296f8..ea3808ea 100644 --- a/public/js/setup.js +++ b/public/js/setup.js @@ -43,6 +43,12 @@ }); user = $('#username').val(); return $.getJSON("/" + user + ".json", function(data) { + if (data.commission == null) { + data.commission = 0; + } + if (data.unit == null) { + data.unit = 'BTC'; + } $('#email').val(data.email); $('#title').val(data.title); $('#logo').val(data.logo); -- cgit v1.2.3