diff --git a/message-queue/src/main.rs b/message-queue/src/main.rs index aa059de5..eb5203d5 100644 --- a/message-queue/src/main.rs +++ b/message-queue/src/main.rs @@ -44,13 +44,7 @@ fn queue_message(meta: Metadata, msg: Vec, sig: SchnorrSignature) } // get RPC method -fn get_next_message( - service: Service, - _expected: u64, - _signature: SchnorrSignature, -) -> Option { - // TODO: Verify the signature - +fn get_next_message(service: Service, _expected: u64) -> Option { // TODO: Verify the expected next message ID matches let queue_outer = (*QUEUES).read().unwrap(); @@ -129,11 +123,7 @@ async fn main() { module .register_method("next", |args, _| { let args = args.parse::<(Service, u64, Vec)>().unwrap(); - get_next_message( - args.0, - args.1, - SchnorrSignature::::read(&mut args.2.as_slice()).unwrap(), - ); + get_next_message(args.0, args.1); Ok(()) }) .unwrap();