Skip to content

Commit

Permalink
fix: verify fails if pubkey is null -> bip340 was allowing to verify …
Browse files Browse the repository at this point in the history
  • Loading branch information
ethicnology committed Jan 18, 2025
1 parent 04d63c6 commit 858319d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/keychain.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Keychain {

/// Encapsulate dart-bip340 verify() so you don't need to add bip340 as a dependency
static bool verify(
String? pubkey,
String pubkey,
String message,
String signature,
) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dev_dependencies:
lints: ^5.1.1
test: ^1.16.0
dependencies:
bip340: ^0.2.0
bip340: ^0.3.0
convert: ^3.1.1
pointycastle: ^3.7.3
bech32: ^0.2.2
Expand Down

0 comments on commit 858319d

Please sign in to comment.