From cabf6a2c26626435f961902151abc6b799776fdd Mon Sep 17 00:00:00 2001 From: zemyblue Date: Tue, 14 Jun 2022 10:52:55 +0900 Subject: [PATCH] Update x/auth/types/account_test.go Co-authored-by: Youngtaek Yoon --- x/auth/types/account_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/types/account_test.go b/x/auth/types/account_test.go index c195ba0e2e..1037621f44 100644 --- a/x/auth/types/account_test.go +++ b/x/auth/types/account_test.go @@ -239,7 +239,7 @@ func TestModuleAccountJSONPB(t *testing.T) { } func TestBaseAccountJSONPB(t *testing.T) { - baseAccountJson := "{\"address\":\"link1rrfywnytlm87ywes0hvxn4rhm4grrn9qquqljc\",\"pub_key\":{\"type\":0,\"key\":null},\"account_number\":\"10\",\"sequence\":\"50\"}" + baseAccountJson := `{"address":"link1rrfywnytlm87ywes0hvxn4rhm4grrn9qquqljc","pub_key":{"type":0,"key":null},"account_number":"10","sequence":"50"}` ba := new(types.BaseAccount) jum := jsonpb.Unmarshaler{} err := jum.Unmarshal(strings.NewReader(baseAccountJson), ba)