[lbry] btcjson: added optional address type for getnewaddress
This commit is contained in:
parent
de2a548207
commit
023aa5d6b0
1 changed files with 2 additions and 1 deletions
|
@ -243,6 +243,7 @@ func NewGetBalancesCmd() *GetBalancesCmd {
|
|||
// GetNewAddressCmd defines the getnewaddress JSON-RPC command.
|
||||
type GetNewAddressCmd struct {
|
||||
Account *string
|
||||
AddressType *string // must be one of legacy / p2pkh or p2sh-p2wkh / p2sh-segwit, or p2wkh / bech32
|
||||
}
|
||||
|
||||
// NewGetNewAddressCmd returns a new instance which can be used to issue a
|
||||
|
|
Loading…
Reference in a new issue