-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
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
Collect small fixes from stale contributor PRs #969
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks 🙏 a couple of linter errors
rpc/legacyrpc/methods.go
Outdated
if result == nil { | ||
return nil, errUtxoSpent | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok cool - i guess ideally we could change Receive to return an error if the result is nil and then dont need to explicitly handle this. but i see we already do this special case handling in lnd for all calls to Receive
done via GetTxOut
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the liner is complaining - also can we open a PR in lnd
to test this change?
go.mod
Outdated
@@ -21,6 +21,7 @@ require ( | |||
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf | |||
github.com/lightninglabs/neutrino v0.16.0 | |||
github.com/lightninglabs/neutrino/cache v1.1.2 | |||
github.com/lightningnetwork/lnd/fn v1.2.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't realize we were importing modules from lnd
before😮💨
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. But those are all submodules, so it shouldn't really matter. But noticed this actually needs to be github.com/lightningnetwork/lnd/fn/v2
, so I changed that.
8412709
to
2a436f5
Compare
Depends on btcsuite/btcwallet#969. Makes sure the changes in that small PR don't cause any failures in lnd.
Signed-off-by: Ononiwu Maureen <[email protected]>
We disable some of the linters that give us too many false positives. Those linters are also disabled in other projects such as lnd for example.
2a436f5
to
3b576ed
Compare
Depends on btcsuite/btcwallet#969. Makes sure the changes in that small PR don't cause any failures in lnd.
|
hmm think |
Yeah, I'll take a look at some point. Seems like the early rescan abort shortcut breaks things. Perhaps because we re-use existing rescans, but then it's already aborted? |
Replaces #959.
Replaces #824.
Replaces #928.