mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-04 05:34:22 +01:00
fix: the tx types for element fee updates were annotated wrong
Fixes the tx type annotation in a few places.
This commit is contained in:
committed by
Rusty Russell
parent
9b429cdf4f
commit
e623143c9f
@@ -2628,7 +2628,7 @@ static void handle_their_cheat(const struct bitcoin_tx *tx,
|
||||
* fee output. */
|
||||
out = new_tracked_output(tx->chainparams,
|
||||
&outs, txid, tx_blockheight,
|
||||
OUR_UNILATERAL, i,
|
||||
THEIR_REVOKED_UNILATERAL, i,
|
||||
amt,
|
||||
ELEMENTS_FEE,
|
||||
NULL, NULL, NULL);
|
||||
@@ -2879,7 +2879,7 @@ static void handle_their_unilateral(const struct bitcoin_tx *tx,
|
||||
* fee output. */
|
||||
out = new_tracked_output(tx->chainparams,
|
||||
&outs, txid, tx_blockheight,
|
||||
OUR_UNILATERAL, i,
|
||||
THEIR_UNILATERAL, i,
|
||||
amt,
|
||||
ELEMENTS_FEE,
|
||||
NULL, NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user