We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Previously, this worked: lncli fwdinghistory --start_time -10y --index_offset 0 --max_events 1
lncli fwdinghistory --start_time -10y --index_offset 0 --max_events 1
With lnd 0.15.0-beta-rc6 I get [lncli] unable to decode start_time: strconv.ParseUint: parsing "--index_offset": invalid syntax
[lncli] unable to decode start_time: strconv.ParseUint: parsing "--index_offset": invalid syntax
The command works as expected if I move --start_time to the end:
--start_time
lncli fwdinghistory --index_offset 0 --max_events 1 --start_time -10y
lnd
uname -a
btcd
bitcoind
JSON output
The text was updated successfully, but these errors were encountered:
lncli fwdinghistory --start_time=-10y --index_offset=0 --max_events=1 works but I'll take a closer look at what is going on here.
lncli fwdinghistory --start_time=-10y --index_offset=0 --max_events=1
Sorry, something went wrong.
Was caused by the upgrade of github.com/urfave/cli from v1.20.0 to v1.22.4 and seems to be fixed in v1.22.9 (urfave/cli#1356)
github.com/urfave/cli
v1.20.0
v1.22.4
v1.22.9
v1.22.9 works for me too.
@guggero I can create a PR and run the tests if you want?
Successfully merging a pull request may close this issue.
Background
Previously, this worked:
lncli fwdinghistory --start_time -10y --index_offset 0 --max_events 1
With lnd 0.15.0-beta-rc6 I get
[lncli] unable to decode start_time: strconv.ParseUint: parsing "--index_offset": invalid syntax
The command works as expected if I move
--start_time
to the end:lncli fwdinghistory --index_offset 0 --max_events 1 --start_time -10y
Your environment
lnd
: lnd 0.15.0-beta-rc6uname -a
on *Nix): Linux server 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linuxbtcd
,bitcoind
, or other backend: bitcoind v23Steps to reproduce
lncli fwdinghistory --start_time -10y --index_offset 0 --max_events 1
Expected behaviour
JSON output
Actual behaviour
[lncli] unable to decode start_time: strconv.ParseUint: parsing "--index_offset": invalid syntax
The text was updated successfully, but these errors were encountered: