mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-29 23:47:13 +01:00
lnrpc+rpcserver: rename ScriptPubkey to PkScript on Utxo msg
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user