Commit fdbdab86 authored by T Dev. D's avatar T Dev. D 😎
Browse files

APIFactory: catch loose txs

parent ca484e32
......@@ -828,6 +828,10 @@ public class APIFactory {
xpub_txs.get(addr).add(tx);
}
else {
if(!xpub_txs.containsKey(AddressFactory.getInstance().account2xpub().get(0))) {
xpub_txs.put(AddressFactory.getInstance().account2xpub().get(0), new ArrayList<Tx>());
}
xpub_txs.get(AddressFactory.getInstance().account2xpub().get(0)).add(tx);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment