From b6a074fab206180e98506940f670badaecf0fca8 Mon Sep 17 00:00:00 2001 From: Dmitry Holodov Date: Mon, 24 Jul 2023 00:46:45 -0500 Subject: [PATCH] comment clarification --- wallet/models.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wallet/models.go b/wallet/models.go index 27107f3..6027075 100644 --- a/wallet/models.go +++ b/wallet/models.go @@ -66,7 +66,8 @@ type GetAddressRequest struct { // Return addresses for this account. AccountIndex uint32 `json:"account_index"` // (Optional, defaults to all) List of address indices to return from the - // account. Index 0 is primary, 1+ are subadddresses. + // account. Index 0 is of account 0 is the primary address, all others + // are subadddresses. AddressIndices []uint32 `json:"address_index,omitempty"` } @@ -76,7 +77,7 @@ type Address struct { Address string `json:"address"` // Label of the (sub)address Label string `json:"label"` - // index of the (sub)address, 0 is primary + // index of the (sub)address AddressIndex uint32 `json:"address_index"` // states if the (sub)address has already received funds Used bool `json:"used"`