Skip to content

Fix r and s check in is_valid_signature #264

@arhag

Description

@arhag

The && should be an || in:

if (r >= kSecp256k1n && s >= kSecp256k1n) {

The conditions in which the is_valid_signature would fail when corrected still fail later on in the code. This bug fix just makes the failure happen earlier.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions