Browse Source

onchain: print exactly what we were doing if we fail in grind_feerate.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
06e8fbda95
  1. 6
      onchaind/onchain.c

6
onchaind/onchain.c

@ -183,6 +183,12 @@ static bool grind_feerate(struct bitcoin_tx *commit_tx,
narrow_feerate_range(fee, multiplier); narrow_feerate_range(fee, multiplier);
return true; return true;
} }
status_broken("grind_feerate failed from %u - %u"
" for tx %s, signature %s, multiplier %"PRIu64,
feerate_range.min, feerate_range.max,
type_to_string(tmpctx, struct bitcoin_tx, commit_tx),
type_to_string(tmpctx, secp256k1_ecdsa_signature, remotesig),
multiplier);
return false; return false;
} }

Loading…
Cancel
Save