lnrpc: add new min_relay_fee response to EstimateFee

We also start using a pattern of making new messages for types/units
instead of adding a suffix to a field.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-08-07 17:51:35 -07:00
1 parent a449a5d132
commit 7f96d10dd3
5 files changed
+451 -424

No files matched your search

+4 -1
View File
@@ -849,8 +849,11 @@ func (w *WalletKit) EstimateFee(ctx context.Context,
return nil, err
}
relayFeePerKw := w.cfg.FeeEstimator.RelayFeePerKW()
return &EstimateFeeResponse{
SatPerKw: int64(satPerKw),
SatPerKw: int64(satPerKw),
MinRelayFeeSatPerKw: int64(relayFeePerKw),
}, nil
}