From e623143c9ff4ec1578091908de5162b94ac7f3ef Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Wed, 1 Apr 2020 21:53:40 -0500 Subject: [PATCH] fix: the tx types for element fee updates were annotated wrong Fixes the tx type annotation in a few places. --- onchaind/onchaind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onchaind/onchaind.c b/onchaind/onchaind.c index 4698e889e..28989cc0f 100644 --- a/onchaind/onchaind.c +++ b/onchaind/onchaind.c @@ -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);