Skip to content
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

Update most dcrd packages #105

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Update most dcrd packages #105

merged 2 commits into from
Jul 29, 2020

Conversation

matheusd
Copy link
Member

This updates most dcrd packages to their latest versions.

While there, it also pushes a fix that should have landed in the previous upstream merge pr for the chainscan package.

lnwallet/chanfunding/wallet_assembler.go Outdated Show resolved Hide resolved
lnwallet/dcrwallet/loader/loader.go Outdated Show resolved Hide resolved
sweep/walletsweep.go Outdated Show resolved Hide resolved
watchtower/wtclient/backup_task_internal_test.go Outdated Show resolved Hide resolved
watchtower/wtclient/client_test.go Outdated Show resolved Hide resolved
This fixes the ComputePkScript function to check for the correct minimum
and maximum lenghts of a DER-encoded signature.
@@ -21,14 +21,14 @@ import (
)

var (
localPrivkey = []byte{1, 2, 3, 4, 5, 6}
remotePrivkey = []byte{6, 5, 4, 3, 2, 1}
localPrivkey = []byte{1, 2, 3, 4, 5, 6} //nolint:unused
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you deactive this here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to the t.Skipf() in tests the linter (correctly) assumes the lines of code where these variables are used are never reached, so it complains about them being unused.

This updates the dcrd packages to their latest version in the app.
@matheusd matheusd merged commit 782e8bd into decred:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants