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

Made ecrecover implementation trait public #11188

Merged
merged 2 commits into from
Oct 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ethcore/builtin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use parity_crypto::digest;
use eip_152::compress;

/// Native implementation of a built-in contract.
trait Implementation: Send + Sync {
pub trait Implementation: Send + Sync {
/// execute this built-in on the given input, writing to the given output.
fn execute(&self, input: &[u8], output: &mut BytesRef) -> Result<(), &'static str>;
}
Expand Down Expand Up @@ -308,7 +308,7 @@ fn ethereum_builtin(name: &str) -> Result<Box<dyn Implementation>, EthcoreError>
struct Identity;

#[derive(Debug)]
struct EcRecover;
pub struct EcRecover;

#[derive(Debug)]
struct Sha256;
Expand Down