fn check_message_sig<B: Codec, H: Codec>(
	message: Message<B, H>,
	signature: &Signature,
	from: &AuthorityId
) -> bool {
	let msg: Vec<u8> = message.encode();
	runtime_io::ed25519_verify(&signature.0, &msg, from)
}
// check a message signature. returns true if signed by that authority.
check a message signature. returns true if signed by that authority.
check a message signature . returns true if signed by that authority .
fn check_message_sig<B: Codec, H: Codec>(
	message: Message<B, H>,
	signature: &Signature,
	from: &AuthorityId
) -> bool {
	let msg: Vec<u8> = message.encode();
	runtime_io::ed25519_verify(&signature.0, &msg, from)
}
fn check_message_sig < B : Codec , H : Codec > ( message : Message < B , H > , signature : & Signature , from : & AuthorityId ) -> bool { let msg : Vec < u8 > = message . encode ( ) ; runtime_io :: ed25519_verify ( & signature . 0 , & msg , from ) }
check a message signature.
check a message signature .
message
Message<B, H>
signature
&Signature
from
&AuthorityId
message
Message<B, H>
signature
&Signature
from
&AuthorityId