mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 17:52:25 +01:00
Merge pull request #9322 from hieblmi/fix-estimate-route-fee
cmd: fix default timeout for estimateroutefee
This commit is contained in:
commit
f6aff58a6d
@ -1920,9 +1920,7 @@ func estimateRouteFee(ctx *cli.Context) error {
|
||||
|
||||
case ctx.IsSet("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:
|
||||
return fmt.Errorf("fee estimation arguments missing")
|
||||
|
@ -60,6 +60,9 @@
|
||||
* [Make the contract resolutions for the channel arbitrator optional](
|
||||
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
|
||||
|
||||
* [Support](https://github.com/lightningnetwork/lnd/pull/8390) for
|
||||
|
Loading…
x
Reference in New Issue
Block a user