mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 14:17:56 +01:00
Merge pull request #9322 from hieblmi/fix-estimate-route-fee
cmd: fix default timeout for estimateroutefee
This commit is contained in:
@@ -1920,9 +1920,7 @@ func estimateRouteFee(ctx *cli.Context) error {
|
|||||||
|
|
||||||
case ctx.IsSet("pay_req"):
|
case ctx.IsSet("pay_req"):
|
||||||
req.PaymentRequest = StripPrefix(ctx.String("pay_req"))
|
req.PaymentRequest = StripPrefix(ctx.String("pay_req"))
|
||||||
if ctx.IsSet("timeout") {
|
req.Timeout = uint32(ctx.Duration("timeout").Seconds())
|
||||||
req.Timeout = uint32(ctx.Duration("timeout").Seconds())
|
|
||||||
}
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("fee estimation arguments missing")
|
return fmt.Errorf("fee estimation arguments missing")
|
||||||
|
|||||||
@@ -60,6 +60,9 @@
|
|||||||
* [Make the contract resolutions for the channel arbitrator optional](
|
* [Make the contract resolutions for the channel arbitrator optional](
|
||||||
https://github.com/lightningnetwork/lnd/pull/9253)
|
https://github.com/lightningnetwork/lnd/pull/9253)
|
||||||
|
|
||||||
|
* [Fixed a bug](https://github.com/lightningnetwork/lnd/pull/9322) that caused
|
||||||
|
estimateroutefee to ignore the default payment timeout.
|
||||||
|
|
||||||
# New Features
|
# New Features
|
||||||
|
|
||||||
* [Support](https://github.com/lightningnetwork/lnd/pull/8390) for
|
* [Support](https://github.com/lightningnetwork/lnd/pull/8390) for
|
||||||
|
|||||||
Reference in New Issue
Block a user