upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/headless.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-08-23 11:49:25 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-08-23 11:49:25 +0000
commite960802fa7149c9f997074ec7c1a7af66fb47e0f (patch)
treec439cb6a2c9e809a8ca93e158a9dfc1175dad15a /src/headless.cpp
parenta5300386813937e38810a86153811941047ea578 (diff)
payout: drop a disjunct in the forfeit path that decides nothing
ForfeitPayoutRecipient retired an entry on `it->amounts.empty() || PayoutFullyPaid(*it)`. PayoutFullyPaid iterates amounts looking for a recipient with no txid, so it returns true for an empty map: the first test can only be true where the second already is. Left in, it reads as though the two cases differ, which invites someone to make them differ. The condition is unchanged; only the claim about it is. Property: unchanged behaviour, and the code now says only what it does.
Diffstat (limited to 'src/headless.cpp')
0 files changed, 0 insertions, 0 deletions