mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 18:30:52 +02:00
rpc: remove NewWitnessAddress RPC
In this commit, we remove the unnecessary NewWitnessAddress RPC. We do this as, at the moment, we only expose the wallet to generate witness addresses. Now that the RPC has been removed, its REST endpoint has been assigned to the NewAddress RPC, which should be the de facto way of having the wallet generate any type of supported address. Fixes #1986.
This commit is contained in:
@@ -37,10 +37,8 @@ description):
|
||||
(many outputs).
|
||||
* NewAddress
|
||||
* Returns a new address, the following address types are supported:
|
||||
pay-to-public-key-hash (p2pkh), pay-to-witness-key-hash (p2wkh), and
|
||||
nested-pay-to-witness-key-hash (np2wkh).
|
||||
* NewWitnessAddress
|
||||
* Returns a new witness address (np2wkh) under control of the local wallet.
|
||||
pay-to-witness-key-hash (p2wkh) and nested-pay-to-witness-key-hash
|
||||
(np2wkh).
|
||||
* SignMessage
|
||||
* Signs a message with the node's identity key and returns a
|
||||
zbase32 encoded signature.
|
||||
|
Reference in New Issue
Block a user