Skip to content

Commit

Permalink
fix: wrong network error (#3885)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcstein authored Oct 25, 2024
1 parent 4031716 commit 08ca0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/core_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (ca *CoreAccessor) Start(ctx context.Context) error {

defaultNetwork := resp.GetDefaultNodeInfo().GetNetwork()
if defaultNetwork != ca.network {
return fmt.Errorf("wrong network in core.ip endpoint, expected %s, got %s", defaultNetwork, ca.network)
return fmt.Errorf("wrong network in core.ip endpoint, expected %s, got %s", ca.network, defaultNetwork)
}

// set up signer to handle tx submission
Expand Down

0 comments on commit 08ca0ed

Please sign in to comment.