Update steep and remove workaround
The maintainer of steep, @soutaro, fixed the bug that I reported :)
This commit is contained in:
parent
7946b82aaf
commit
0497878d54
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user