diff --git a/rpc/handlers.go b/rpc/handlers.go index ab2f65d795..e66ba8e092 100644 --- a/rpc/handlers.go +++ b/rpc/handlers.go @@ -1666,7 +1666,7 @@ func (h *Handler) callAndLogErr(f func() error, msg string) { } func (h *Handler) SpecVersion() (string, *jsonrpc.Error) { - return "0.6.0-rc5", nil + return "0.6.0", nil } func (h *Handler) LegacySpecVersion() (string, *jsonrpc.Error) { diff --git a/rpc/handlers_test.go b/rpc/handlers_test.go index d788495ea1..593b1c4a79 100644 --- a/rpc/handlers_test.go +++ b/rpc/handlers_test.go @@ -3684,7 +3684,7 @@ func TestSpecVersion(t *testing.T) { handler := rpc.New(nil, nil, 0, nil, nil, nil, "", nil) version, rpcErr := handler.SpecVersion() require.Nil(t, rpcErr) - require.Equal(t, "0.6.0-rc5", version) + require.Equal(t, "0.6.0", version) legacyVersion, rpcErr := handler.LegacySpecVersion() require.Nil(t, rpcErr)