mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 12:22:38 +01:00
lnrpc+rpcserver+lncli: rename RPC fields to previous JSON name
This commit is contained in:
12
rpcserver.go
12
rpcserver.go
@@ -943,7 +943,7 @@ func (r *rpcServer) ListUnspent(ctx context.Context,
|
||||
}
|
||||
|
||||
utxoResp := lnrpc.Utxo{
|
||||
Type: addrType,
|
||||
AddressType: addrType,
|
||||
AmountSat: int64(utxo.Value),
|
||||
PkScript: hex.EncodeToString(utxo.PkScript),
|
||||
Outpoint: outpoint,
|
||||
@@ -5141,11 +5141,11 @@ func (r *rpcServer) FeeReport(ctx context.Context,
|
||||
|
||||
// TODO(roasbeef): also add stats for revenue for each channel
|
||||
feeReports = append(feeReports, &lnrpc.ChannelFeeReport{
|
||||
ChanId: chanInfo.ChannelID,
|
||||
ChanPoint: chanInfo.ChannelPoint.String(),
|
||||
BaseFeeMsat: int64(edgePolicy.FeeBaseMSat),
|
||||
FeePerMil: int64(feeRateFixedPoint),
|
||||
FeeRate: feeRate,
|
||||
ChanId: chanInfo.ChannelID,
|
||||
ChannelPoint: chanInfo.ChannelPoint.String(),
|
||||
BaseFeeMsat: int64(edgePolicy.FeeBaseMSat),
|
||||
FeePerMil: int64(feeRateFixedPoint),
|
||||
FeeRate: feeRate,
|
||||
})
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user