Merge PR #4561: Add account JSON tag to AccountWithHeight
This commit is contained in:
parent
73700df8c3
commit
ac2e765607
|
@ -0,0 +1,2 @@
|
|||
#4536 The `/auth/accounts/{address}` now returns a `height` in the response.
|
||||
The account is now nested under `account`.
|
|
@ -17,8 +17,8 @@ import (
|
|||
// AccountWithHeight wraps the embedded Account with the height it was queried
|
||||
// at.
|
||||
type AccountWithHeight struct {
|
||||
types.Account
|
||||
Height int64 `json:"height"`
|
||||
types.Account `json:"account"`
|
||||
Height int64 `json:"height"`
|
||||
}
|
||||
|
||||
// query accountREST Handler
|
||||
|
|
Loading…
Reference in New Issue