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
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