From 7a1db0852b78d724c06acab535ced70beb5ad762 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Fri, 21 Apr 2017 12:10:41 +0300 Subject: [PATCH] fix typo --- ethcore/src/builtin.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ethcore/src/builtin.rs b/ethcore/src/builtin.rs index 32087be96..12d4d9ac1 100644 --- a/ethcore/src/builtin.rs +++ b/ethcore/src/builtin.rs @@ -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"), @@ -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"), ); } @@ -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\ @@ -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\