Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NikVolf committed Apr 6, 2017
1 parent df72c9c commit 9bcd124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ethcore/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn ethereum_builtin(name: &str) -> Box<Impl> {
"modexp" => Box::new(ModexpImpl) as Box<Impl>,
"bn128_add" => Box::new(Bn128AddImpl) as Box<Impl>,
"bn128_mul" => Box::new(Bn128MulImpl) as Box<Impl>,
"bn128_pairing" => Box::new(Bn128ParingImpl) as Box<Impl>,
"bn128_pairing" => Box::new(Bn128PairingImpl) as Box<Impl>,
_ => panic!("invalid builtin name: {}", name),
}
}
Expand Down Expand Up @@ -193,7 +193,7 @@ struct Bn128AddImpl;
struct Bn128MulImpl;

#[derive(Debug)]
struct Bn128ParingImpl;
struct Bn128PairingImpl;

impl Impl for Identity {
fn execute(&self, input: &[u8], output: &mut BytesRef) -> Result<(), Error> {
Expand Down Expand Up @@ -429,7 +429,7 @@ mod bn128_gen {
}
}

impl Impl for Bn128ParingImpl {
impl Impl for Bn128PairingImpl {
/// Can fail if:
/// - input length is not a multiple of 192
/// - any of odd points does not belong to bn128 curve
Expand Down

0 comments on commit 9bcd124

Please sign in to comment.