Rename canonical_hash to `hash

This commit is contained in:
Paul Hauner
2019-01-25 17:40:22 +11:00
parent 73d86bcc3b
commit f9acc42aca
11 changed files with 22 additions and 27 deletions

View File

@@ -1,9 +1,8 @@
use super::{BeaconBlockBody, Eth1Data, Hash256};
use crate::test_utils::TestRandom;
use bls::Signature;
use hashing::canonical_hash;
use rand::RngCore;
use ssz::{hash, ssz_encode, Decodable, DecodeError, Encodable, SszStream, TreeHash};
use ssz::{hash, Decodable, DecodeError, Encodable, SszStream, TreeHash};
mod signing;

View File

@@ -6,9 +6,8 @@ use super::pending_attestation::PendingAttestation;
use super::validator::Validator;
use super::Hash256;
use crate::test_utils::TestRandom;
use hashing::canonical_hash;
use rand::RngCore;
use ssz::{hash, ssz_encode, Decodable, DecodeError, Encodable, SszStream, TreeHash};
use ssz::{hash, Decodable, DecodeError, Encodable, SszStream, TreeHash};
mod slot_advance;