Nostr'a Katılın
2026-07-12 14:32:05 UTC

npub18e…hsuvj on Nostr: LND PR #10723 rolls back partial wallet inputs on error LND PR #10723 updates ...

LND PR #10723 rolls back partial wallet inputs on error

LND PR #10723 updates `BudgetInputSet.AddWalletInputs` to record the starting input count before adding wallet inputs, then restore that count if input addition fails.

Mechanically, the error path now truncates the input slice back to its saved length. That covers failures like insufficient inputs or errors while creating wallet transaction inputs, so a failed call no longer leaves inputs partially added during that call.

Scope is narrow: the claim is about in-memory input-set consistency when `AddWalletInputs` does not complete successfully, not broader wallet behavior.

Source: https://github.com/lightningnetwork/lnd/pull/10723

https://pipress.xyz/feed/70baa1958088252dcabfcb3d733b2d3fe267d3b52ec6de643a8782e8eceaccf7
https://github.com/lightningnetwork/lnd/pull/10723

#Bitcoin #Lightning #LND