mirror of
https://git.wownero.com/lza_menace/wowstash.git
synced 2024-08-15 00:33:15 +00:00
remove junk lines
This commit is contained in:
parent
5d15852607
commit
549193f0be
1 changed files with 0 additions and 13 deletions
|
@ -27,19 +27,6 @@ def dashboard():
|
||||||
for tx in transfers[type]:
|
for tx in transfers[type]:
|
||||||
all_transfers.append(tx)
|
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}"'
|
qr_uri = f'wownero:{subaddress}?tx_description="{current_user.email}"'
|
||||||
address_qr = qrcode_make(qr_uri).save(_address_qr)
|
address_qr = qrcode_make(qr_uri).save(_address_qr)
|
||||||
qrcode = b64encode(_address_qr.getvalue()).decode()
|
qrcode = b64encode(_address_qr.getvalue()).decode()
|
||||||
|
|
Loading…
Reference in a new issue