Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
koko1123 committed Sep 7, 2023
1 parent 85b8997 commit b1f6f96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion storage/pebble/registers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"

"github.com/cockroachdb/pebble"

"github.com/onflow/flow-go/model/flow"
)

Expand Down Expand Up @@ -79,7 +80,7 @@ func (s *Registers) Store(
return nil
}

// TODO: Finish implementation after deciding prefixes
// TODO: Finish implementation after deciding prefixes and/or badger use

// LatestHeight Gets the latest height of complete registers available
func (s *Registers) LatestHeight() (uint64, error) {
Expand Down
2 changes: 1 addition & 1 deletion storage/pebble/registers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"

"github.com/cockroachdb/pebble"
"github.com/onflow/flow-go/storage/pebble/registers/config"
"github.com/stretchr/testify/require"

"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/storage/pebble/registers/config"
)

// Test_PayloadStorage_RoundTrip tests the round trip of a payload storage.
Expand Down

0 comments on commit b1f6f96

Please sign in to comment.