Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 committed Aug 14, 2024
1 parent 1c451aa commit efc19a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tss/ecdsa/common/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (b *BaseTss) PopulatePartyStore(parties tss.SortedPartyIDs) {
func (b *BaseTss) ProcessInboundMessages(ctx context.Context, msgChan chan *comm.WrappedMessage) (err error) {
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf(string(debug.Stack()))
err = fmt.Errorf("%s", string(debug.Stack()))
}
}()

Expand Down
2 changes: 1 addition & 1 deletion tss/frost/common/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type BaseFrostTss struct {
func (k *BaseFrostTss) ProcessInboundMessages(ctx context.Context, msgChan chan *comm.WrappedMessage) (err error) {
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf(string(debug.Stack()))
err = fmt.Errorf("%s", string(debug.Stack()))
}
}()

Expand Down

0 comments on commit efc19a7

Please sign in to comment.