Add new tree_hash crate project wide.

This commit is contained in:
Paul Hauner
2019-04-16 14:25:43 +10:00
parent b8c4c3308a
commit f69b56ad60
13 changed files with 18 additions and 17 deletions

View File

@@ -141,8 +141,7 @@ impl<T: SlotClock, U: BeaconNode, V: DutiesReader, W: Signer> Attester<T, U, V,
data: attestation_data.clone(),
custody_bit: PHASE_0_CUSTODY_BIT,
}
.tree_hash_root
| update();
.tree_hash_root();
self.signer
.sign_attestation_message(&message[..], DOMAIN_ATTESTATION)