Skip to content

Commit

Permalink
Fix broken import
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed May 20, 2021
1 parent b8d24e8 commit aff0716
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.15

require (
github.com/cosmos/cosmos-sdk v0.42.4
github.com/cosmos/iavl v0.15.3
github.com/gogo/protobuf v1.3.3
github.com/golang/mock v1.4.4
github.com/golang/protobuf v1.5.1
Expand Down
4 changes: 2 additions & 2 deletions store/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

iavlstore "github.com/cosmos/cosmos-sdk/store/iavl"

"github.com/c-osmosis/osmosis/store"
"github.com/osmosis-labs/osmosis/store"
)

type TreeTestSuite struct {
Expand Down Expand Up @@ -77,7 +77,7 @@ func (suite *TreeTestSuite) TestTreeInvariants() {
for i := 0; i < 500; i++ {
// add a single element
key := make([]byte, rand.Int()%20)
value := rand.Uint64()%100
value := rand.Uint64() % 100
rand.Read(key)
idx := sort.Search(len(pairs), func(n int) bool { return bytes.Compare(pairs[n].key, key) >= 0 })
if idx < len(pairs) {
Expand Down

0 comments on commit aff0716

Please sign in to comment.