sweepbatcher: wrap error from MuSig2CreateSession

Make it more clear in the logs, what is the source of the error.
This commit is contained in:
Boris Nagaev 2024-06-23 12:54:49 -03:00
parent 99d3fd520e
commit 822e4746c1
No known key found for this signature in database

View file

@ -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