mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
onchain: print exactly what we were doing if we fail in grind_feerate.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -183,6 +183,12 @@ static bool grind_feerate(struct bitcoin_tx *commit_tx,
|
||||
narrow_feerate_range(fee, multiplier);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user