Skip to content

Commit

Permalink
address linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Jun 15, 2022
1 parent 80df15a commit 81b7f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dot/rpc/modules/grandpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (gm *GrandpaModule) ProveFinality(r *http.Request, req *ProveFinalityReques
if err != nil {
return err
}

if !hasJustification {
*res = append(*res, "GRANDPA prove finality rpc failed: Block not covered by authority set changes")
return nil
Expand Down
2 changes: 1 addition & 1 deletion dot/rpc/modules/grandpa_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
package modules

import (
"github.com/stretchr/testify/assert"
"testing"

"github.com/ChainSafe/gossamer/dot/state"
"github.com/ChainSafe/gossamer/dot/types"
"github.com/ChainSafe/gossamer/lib/crypto/ed25519"
"github.com/ChainSafe/gossamer/lib/grandpa"
"github.com/ChainSafe/gossamer/lib/keystore"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

rpcmocks "github.com/ChainSafe/gossamer/dot/rpc/modules/mocks"
Expand Down

0 comments on commit 81b7f69

Please sign in to comment.