skip existing coins when applying a pay coin re-selection

This commit is contained in:
Florian Dold 2021-06-23 10:18:40 +02:00
parent 09d1dd83ec
commit 6c14268c1a
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -406,6 +406,7 @@ export async function applyCoinSpend(
// FIXME: assign error code // FIXME: assign error code
throw Error("conflicting coin allocation (contrib)"); throw Error("conflicting coin allocation (contrib)");
} }
continue;
} }
coin.status = CoinStatus.Dormant; coin.status = CoinStatus.Dormant;
coin.allocation = { coin.allocation = {