diff --git a/onchaind/onchaind.c b/onchaind/onchaind.c index 4c481eb30d66..ccdbdf836241 100644 --- a/onchaind/onchaind.c +++ b/onchaind/onchaind.c @@ -152,6 +152,10 @@ static void trim_maximum_feerate(struct amount_sat funding, size_t weight; struct amount_sat fee = funding; + /* FIXME: This doesn't work for elements? */ + if (chainparams->is_elements) + return; + weight = bitcoin_tx_core_weight(tal_count(commitment->inputs), tal_count(commitment->outputs));