Skip to content

Commit

Permalink
Update x/auth/types/account_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Youngtaek Yoon <[email protected]>
  • Loading branch information
zemyblue and 0Tech authored Jun 14, 2022
1 parent d8d45c6 commit cabf6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/auth/types/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cabf6a2

Please sign in to comment.