Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Update types/latest_valset_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Forbes <[email protected]>
  • Loading branch information
rach-id and evan-forbes authored Oct 26, 2023
1 parent 545ccee commit 4df2e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/latest_valset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestMarshalValset(t *testing.T) {
jsonData, err := types.MarshalValset(valset)
assert.NoError(t, err)
expectedJSON := `{"nonce":10,"members":[{"power":100,"evm_address":"evm_addr1"},{"power":200,"evm_address":"evm_addr2"}],"height":5,"time":"1970-01-01T01:00:00.00001+01:00"}`
assert.Equal(t, string(jsonData), expectedJSON)
assert.Equal(t, expectedJSON, string(jsonData))
}

func TestUnmarshalValset(t *testing.T) {
Expand Down

0 comments on commit 4df2e5a

Please sign in to comment.