Skip to content

Commit

Permalink
First mock implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamika Nomara committed Jul 26, 2021
1 parent 997ef38 commit dc6841b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethcontract-mock/src/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct Transaction {
///
/// Panics if transaction is malformed or if verification fails.
pub fn verify(raw_tx: &[u8], node_chain_id: u64) -> Transaction {
let rlp = rlp::Rlp::new(&raw_tx);
let rlp = rlp::Rlp::new(raw_tx);

fn err() -> ! {
panic!("invalid transaction data");
Expand Down

0 comments on commit dc6841b

Please sign in to comment.