Message was not enforced to carry signature yet

This commit is contained in:
NIC619
2019-08-06 13:05:31 +08:00
parent 1cea1264a4
commit d4febea469
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# FIXME: Replace the type of `pubkey` with a custom type `Pubkey`
def signature_validator(pubkey: bytes, msg: bytes, sig: bytes) -> bool:
def signature_validator(pubkey: bytes, msg: bytes) -> bool:
"""
Verify the message against the given public key.
:param pubkey: the public key which signs the message.