Update steep and remove workaround

The maintainer of steep, @soutaro, fixed the bug that I reported :)
This commit is contained in:
Wilson Silva 2024-04-05 14:46:39 +01:00
parent 7946b82aaf
commit 0497878d54
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8
2 changed files with 2 additions and 3 deletions

View File

@ -203,8 +203,7 @@ module Nostr
def verify_signature
crypto = Crypto.new
return false if id.nil? || pubkey.nil?
return false if sig.nil? # FIXME: See https://github.com/soutaro/steep/issues/1079
return false if id.nil? || pubkey.nil? || sig.nil?
crypto.valid_sig?(id, pubkey, sig)
end

View File

@ -57,7 +57,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop-rspec', '2.29'
spec.add_development_dependency 'simplecov', '= 0.17'
spec.add_development_dependency 'simplecov-console', '~> 0.9'
spec.add_development_dependency 'steep', '~> 1.6'
spec.add_development_dependency 'steep', '~> 1.7.dev3'
spec.add_development_dependency 'typeprof', '~> 0.21'
spec.add_development_dependency 'yard', '~> 0.9'
spec.add_development_dependency 'yard-junk', '~> 0.0.9'