lnrpc+rpcserver+lncli: rename RPC fields to previous JSON name

This commit is contained in:
Oliver Gugger
2020-02-12 16:13:07 +01:00
parent 3a5348ea8b
commit 9aff896b10
5 changed files with 671 additions and 671 deletions

View File

@@ -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,