Move Pubkey into its own module

This commit is contained in:
Greg Fitzgerald
2018-09-26 17:55:36 -06:00
parent c6d7cd2d33
commit b7ae5b712a
37 changed files with 99 additions and 70 deletions

View File

@@ -43,8 +43,9 @@ pub fn init() {
}
fn verify_packet(packet: &Packet) -> u8 {
use pubkey::Pubkey;
use ring::signature;
use signature::{Pubkey, Signature};
use signature::Signature;
use untrusted;
let msg_start = TX_OFFSET + SIGNED_DATA_OFFSET;