Squashed: Public Node

This commit is contained in:
maciejhirsz
2017-03-29 17:07:58 +02:00
parent 858c974440
commit 9bd3f10f41
45 changed files with 9060 additions and 89 deletions

View File

@@ -29,7 +29,7 @@ impl Brain {
impl Generator for Brain {
fn generate(self) -> Result<KeyPair, Error> {
let seed = self.0;
let mut secret = seed.bytes().collect::<Vec<u8>>().keccak256();
let mut secret = seed.into_bytes().keccak256();
let mut i = 0;
loop {