update for MMGen Wallet v15.1.dev14

This commit is contained in:
The MMGen Project 2025-02-06 10:07:57 +00:00
commit b62ff991fe
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
3.5.dev5
3.5.dev6

View file

@ -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])

View file

@ -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