Skip to content

Commit

Permalink
fixup! fixup! Currency: Variadic Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Aug 7, 2024
1 parent bca853d commit 01a9f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion currency/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (p *PairsManager) DisablePair(a asset.Item, pair Pair) error {
pairStore.Enabled = pairStore.Enabled.Remove(pair)

if enabledLen == len(pairStore.Enabled) {
return fmt.Errorf("%w 2 %s", ErrPairNotFound, pair)
return fmt.Errorf("%w %s", ErrPairNotFound, pair)
}

return nil
Expand Down

0 comments on commit 01a9f9f

Please sign in to comment.