Skip to content

Commit

Permalink
fixup ??
Browse files Browse the repository at this point in the history
  • Loading branch information
niftynei committed Oct 10, 2019
1 parent a61e825 commit 92a901c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/test/run-funding_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ int main(void)

utxomap = tal_arr(tmpctx, const struct utxo *, 1);
utxomap[0] = &utxo;

change = AMOUNT_SAT(0);
if (!amount_sat_sub(&change, utxo.amount, funding_sat)
|| !amount_sat_sub(&change, change, fee))
abort();
Expand Down

0 comments on commit 92a901c

Please sign in to comment.