From 549193f0be8f75e5420554277366082b44bb701d Mon Sep 17 00:00:00 2001 From: lza_menace Date: Fri, 11 Sep 2020 14:18:13 -0700 Subject: [PATCH] remove junk lines --- wowstash/blueprints/wallet/routes.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/wowstash/blueprints/wallet/routes.py b/wowstash/blueprints/wallet/routes.py index 7dd8cfc..5bb0f48 100644 --- a/wowstash/blueprints/wallet/routes.py +++ b/wowstash/blueprints/wallet/routes.py @@ -27,19 +27,6 @@ def dashboard(): for tx in transfers[type]: all_transfers.append(tx) - # data = {'account_index': account_index, 'address_indices': [subaddress_index]} - # _balance = self.make_rpc('get_balance', data) - # locked = from_atomic(_balance['per_subaddress'][0]['balance']) - # unlocked = from_atomic(_balance['per_subaddress'][0]['unlocked_balance']) - # return (float(locked), float(unlocked)) - from wowstash.library.jsonrpc import from_atomic - from pprint import pprint - bal = wallet.make_rpc('get_balance', {'account_index': 0, 'address_indices': [user.subaddress_index]}) - # print(from_atomic(bal)) - pprint(bal) - # pprint(transfers) - # pprint(balances) - qr_uri = f'wownero:{subaddress}?tx_description="{current_user.email}"' address_qr = qrcode_make(qr_uri).save(_address_qr) qrcode = b64encode(_address_qr.getvalue()).decode()