Report failure to sign psbt inputs by hsmd

This commit is contained in:
Greg Sanders 2023-02-17 12:42:52 -05:00 committed by Rusty Russell
parent e7bf52980b
commit c85bce94be
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ static void sign_our_inputs(struct utxo **utxos, struct wally_psbt *psbt)
sizeof(privkey.secret.data),
EC_FLAG_GRIND_R) != WALLY_OK) {
tal_wally_end(psbt);
hsmd_status_broken(
hsmd_status_failed(STATUS_FAIL_INTERNAL_ERROR,
"Received wally_err attempting to "
"sign utxo with key %s. PSBT: %s",
type_to_string(tmpctx, struct pubkey,