mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-04 18:01:57 +01:00
lnrpc+rpcserver+lncli: rename RPC fields to previous JSON name
This commit is contained in:
@@ -58,7 +58,7 @@ type Utxo struct {
|
||||
// printed in base64.
|
||||
func NewUtxoFromProto(utxo *lnrpc.Utxo) *Utxo {
|
||||
return &Utxo{
|
||||
Type: utxo.Type,
|
||||
Type: utxo.AddressType,
|
||||
Address: utxo.Address,
|
||||
AmountSat: utxo.AmountSat,
|
||||
PkScript: utxo.PkScript,
|
||||
|
||||
Reference in New Issue
Block a user