mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-16 13:00:52 +02:00
'Refactored by Sourcery'
This commit is contained in:
parent
78ff6fd7cc
commit
5ffc3ef8ec
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ def untxsConn():
|
|||
abc = json.loads(gnb1)
|
||||
ab = abc['vout']
|
||||
knz = 'address'
|
||||
for key, value in enumerate(ab):
|
||||
for value in ab:
|
||||
knx = value['scriptPubKey']
|
||||
if knz in knx:
|
||||
print("TxID: \u001b[38;5;40m{} \033[0;37;40m| \u001b[31;1mAmount: \u001b[38;5;202m{} BTC \033[0;37;40m| \u001b[31;1mAddress: \u001b[33;1m{}\033[0;37;40m | \u001b[31;1mType: \u001b[31;1m{}\u001b[33;1m".format(b,value['value'],knx['address'],knx['type']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue