lnrpc+rpcserver: rename ScriptPubkey to PkScript on Utxo msg

This commit is contained in:
Conner Fromknecht
2019-02-11 13:02:25 -08:00
parent 3fa9d81a41
commit 34e36e9daa
6 changed files with 569 additions and 569 deletions

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