mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
BOLT 3: closing tx must also round outputs down to whole satoshis.
We specify this for the commitment tx, but not for the closing tx. Reported-by: Christian Decker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
1ad7933241
commit
ee5f4352bb
@ -261,6 +261,7 @@ Note that there are two possible variants for each node.
|
||||
### Requirements
|
||||
|
||||
Each node offering a signature:
|
||||
- MUST round each output down to whole satoshis.
|
||||
- MUST subtract the fee given by `fee_satoshis` from the output to the funder.
|
||||
- MUST remove any output below its own `dust_limit_satoshis`.
|
||||
- MAY eliminate its own output.
|
||||
|
Loading…
Reference in New Issue
Block a user