Skip to content

Commit 438be57

Browse files
committed
Remove Account from AccountCreateResponse
1 parent 6c7f59b commit 438be57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

extras/jsonrpc/daemon_types.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ type AccountListResponse struct {
213213
type AccountBalanceResponse string
214214

215215
type AccountCreateResponse struct {
216-
Account
217-
PrivateKey string `json:"private_key,omitempty"`
218-
PublicKey string `json:"public_key"`
219-
Seed string `json:"seed"`
220-
Ledger string `json:"ledger"`
221-
ModifiedOn float64 `json:"modified_on"`
216+
ID string `json:"id"`
217+
Name string `json:"name"`
218+
PublicKey string `json:"public_key"`
219+
PrivateKey string `json:"private_key"`
220+
Seed string `json:"seed"`
221+
Ledger string `json:"ledger"`
222222
}
223223

224224
type AccountRemoveResponse AccountCreateResponse

0 commit comments

Comments
 (0)