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 21, 2017
1 parent 9bcd124 commit 7a1db08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethcore/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ mod tests {
}
}

fn builitin_pairing() -> Builtin {
fn builtin_pairing() -> Builtin {
Builtin {
pricer: Box::new(Linear { base: 0, word: 0 }),
native: ethereum_builtin("bn128_pairing"),
Expand Down Expand Up @@ -856,7 +856,7 @@ mod tests {
fn bn128_pairing_empty() {
// should not fail, because empty input is a valid input of 0 elements
empty_test(
builitin_pairing(),
builtin_pairing(),
bytes("0000000000000000000000000000000000000000000000000000000000000001"),
);
}
Expand All @@ -865,7 +865,7 @@ mod tests {
fn bn128_pairing_notcurve() {
// should fail - point not on curve
error_test(
builitin_pairing(),
builtin_pairing(),
&bytes("\
1111111111111111111111111111111111111111111111111111111111111111\
1111111111111111111111111111111111111111111111111111111111111111\
Expand All @@ -882,7 +882,7 @@ mod tests {
fn bn128_pairing_fragmented() {
// should fail - input length is invalid
error_test(
builitin_pairing(),
builtin_pairing(),
&bytes("\
1111111111111111111111111111111111111111111111111111111111111111\
1111111111111111111111111111111111111111111111111111111111111111\
Expand Down

0 comments on commit 7a1db08

Please sign in to comment.