mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
BOLT 3: fix trimming typo.
If the htlc amount, after htlc fee is *subtracted*, is less than the dust limit, trim it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
860990fa0a
commit
0dd1d383ed
@ -173,13 +173,13 @@ less than `dust-limit-satoshis` set by the transaction owner, the
|
||||
commitment transaction MUST NOT contain that output, otherwise it MUST
|
||||
be generated as specified in [To-Remote Output](#to-remote-output).
|
||||
|
||||
For every offered HTLC, if the HTLC amount plus the HTLC-timeout fee
|
||||
For every offered HTLC, if the HTLC amount minus the HTLC-timeout fee
|
||||
would be less than `dust-limit-satoshis` set by the transaction owner,
|
||||
the commitment transaction MUST NOT contain that output, otherwise it
|
||||
MUST be generated as specified in
|
||||
[Offered HTLC Outputs](#offered-htlc-outputs).
|
||||
|
||||
For every received HTLC, if the HTLC amount plus the HTLC-success fee
|
||||
For every received HTLC, if the HTLC amount minus the HTLC-success fee
|
||||
would be less than `dust-limit-satoshis` set by the transaction owner,
|
||||
the commitment transaction MUST NOT contain that output, otherwise it
|
||||
MUST be generated as specified in
|
||||
|
Loading…
Reference in New Issue
Block a user