Skip to content

Fix 2 small issues in sporks module#2133

Merged
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:fixsmallsporkissues
Jun 18, 2018
Merged

Fix 2 small issues in sporks module#2133
UdjinM6 merged 2 commits into
dashpay:developfrom
UdjinM6:fixsmallsporkissues

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Jun 18, 2018

Copy link
Copy Markdown

See individual commits.

UdjinM6 added 2 commits June 18, 2018 21:41
…porkkey`

Before:
Crashes with `Assertion failed: (fValid), function GetPubKey, file key.cpp, line 156.`

After:
Fails and prints rpc help for `spork`
CMessageSigner::VerifyMessage() failure is not really an error
if CHashSigner::VerifyHash() below passes with no issues.
No need to log this.
@UdjinM6 UdjinM6 added the bug label Jun 18, 2018
@UdjinM6 UdjinM6 added this to the 12.3 milestone Jun 18, 2018

@nmarley nmarley left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK 👍

@UdjinM6
UdjinM6 merged commit 6410705 into dashpay:develop Jun 18, 2018
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
* Fix a crash when someone tries to update sporks without specifying `sporkkey`

Before:
Crashes with `Assertion failed: (fValid), function GetPubKey, file key.cpp, line 156.`

After:
Fails and prints rpc help for `spork`

* Silence logging in CSporkMessage::CheckSignature() a bit

CMessageSigner::VerifyMessage() failure is not really an error
if CHashSigner::VerifyHash() below passes with no issues.
No need to log this.
@UdjinM6
UdjinM6 deleted the fixsmallsporkissues branch November 26, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants