Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Feb 15, 2024
1 parent 139dd13 commit b1bee4b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"time"

"github.com/cosmos/cosmos-sdk/telemetry"
"cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/telemetry"
"github.com/go-playground/validator/v10"

"github.com/ojo-network/price-feeder/oracle/provider"
Expand Down
2 changes: 1 addition & 1 deletion oracle/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"sync"
"time"

sdkmath "cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkmath "cosmossdk.io/math"
oracletypes "github.com/ojo-network/ojo/x/oracle/types"
"github.com/rs/zerolog"
"golang.org/x/sync/errgroup"
Expand Down
2 changes: 1 addition & 1 deletion oracle/provider/telemetry.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package provider

import (
"github.com/hashicorp/go-metrics"
"github.com/cosmos/cosmos-sdk/telemetry"
"github.com/hashicorp/go-metrics"
"github.com/ojo-network/price-feeder/oracle/types"
)

Expand Down
2 changes: 1 addition & 1 deletion oracle/types/candle_price.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
type CandlePrice struct {
Price math.LegacyDec // last trade price
Volume math.LegacyDec // volume
TimeStamp int64 // timestamp
TimeStamp int64 // timestamp
}

// NewCandlePrice parses the lastPrice and volume to a decimal and returns a CandlePrice
Expand Down

0 comments on commit b1bee4b

Please sign in to comment.