update for MMGen Wallet v15.1.dev14
This commit is contained in:
parent
7cb2fc5b08
commit
b62ff991fe
3 changed files with 5 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
3.5.dev5
|
||||
3.5.dev6
|
||||
|
|
|
|||
|
|
@ -142,10 +142,10 @@ async def main(req_addrs):
|
|||
addr = re.match('addr\((.*?)\)',unspent['desc'])[1]
|
||||
addr_data[addr].append(unspent)
|
||||
else:
|
||||
from mmgen.proto.btc.tx.base import scriptPubKey2addr
|
||||
from mmgen.proto.btc.tx.base import decodeScriptPubKey
|
||||
for unspent in sorted(res['unspents'],key=lambda x: x['height']):
|
||||
addr = scriptPubKey2addr( proto, unspent['scriptPubKey'] )[0]
|
||||
addr_data[addr].append(unspent)
|
||||
ds = decodeScriptPubKey(proto, unspent['scriptPubKey'])
|
||||
addr_data[ds.addr].append(unspent)
|
||||
|
||||
good_addrs = len([v for v in addr_data.values() if v])
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ python_requires = >=3.9
|
|||
include_package_data = True
|
||||
|
||||
install_requires =
|
||||
mmgen-wallet>=15.1.dev10
|
||||
mmgen-wallet>=15.1.dev14
|
||||
pyyaml
|
||||
yahooquery
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue