Skip to content

Commit

Permalink
updates for istanbul/config_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
achraf17 committed May 5, 2022
1 parent f734fdb commit 0e69ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/istanbul/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ func TestGetConfig(t *testing.T) {
t.Errorf("error default config:\nexpected: %v\n", DefaultConfig)
}

config := &DefaultConfig
(*config).Transitions = []params.Transition{{
config := *DefaultConfig
config.Transitions = []params.Transition{{
Block: big.NewInt(1),
EpochLength: 40000,
}, {
Expand Down

0 comments on commit 0e69ec9

Please sign in to comment.