lnrpc+rpcserver: rename ScriptPubkey to PkScript on Utxo msg

This commit is contained in:
Conner Fromknecht committed 2019-02-11 13:02:25 -08:00
1 parent 3fa9d81a41
commit 34e36e9daa
6 files changed
+569 -569

No files matched your search

+1 -1
View File
@@ -731,7 +731,7 @@ func (r *rpcServer) ListUnspent(ctx context.Context,
utxoResp := lnrpc.Utxo{
Type: addrType,
AmountSat: int64(utxo.Value),
ScriptPubkey: hex.EncodeToString(utxo.PkScript),
PkScript: hex.EncodeToString(utxo.PkScript),
Outpoint: outpoint,
Confirmations: utxo.Confirmations,
}