Remove dead stores
This commit is contained in:
parent
09ec0ae990
commit
b5682a773b
|
@ -140,7 +140,7 @@ struct bitcoin_tx *commit_tx(const tal_t *ctx,
|
|||
#ifdef PRINT_ACTUAL_FEE
|
||||
{
|
||||
u64 satoshis_out = 0;
|
||||
for (i = n = 0; i < tal_count(htlcs); i++) {
|
||||
for (i = 0; i < tal_count(htlcs); i++) {
|
||||
if (!trim(htlcs[i], feerate_per_kw, dust_limit_satoshis,
|
||||
side))
|
||||
satoshis_out += htlcs[i]->msatoshi / 1000;
|
||||
|
|
|
@ -1860,10 +1860,6 @@ static void gossip_disable_outgoing_halfchan(struct daemon *daemon,
|
|||
"Unable to parse previously accepted channel_update");
|
||||
}
|
||||
|
||||
timestamp = time_now().ts.tv_sec;
|
||||
if (timestamp <= hc->last_timestamp)
|
||||
timestamp = hc->last_timestamp + 1;
|
||||
|
||||
local_update->disable = true;
|
||||
|
||||
queue_local_update(daemon, local_update);
|
||||
|
|
Loading…
Reference in New Issue