sweepbatcher: wrap error from MuSig2CreateSession

Make it more clear in the logs, what is the source of the error.
pull/784/head
Boris Nagaev 2 months ago
parent 99d3fd520e
commit 822e4746c1
No known key found for this signature in database

@ -996,7 +996,8 @@ func (b *batch) coopSignBatchTx(ctx context.Context, packet *psbt.Packet,
),
)
if err != nil {
return err
return fmt.Errorf("signerClient.MuSig2CreateSession "+
"failed: %w", err)
}
// With the session active, we can now send the server our

Loading…
Cancel
Save