Fix a few docs/logs

This commit is contained in:
Michael Sproul
2019-11-19 14:49:14 +11:00
parent d05774d229
commit 601951ae99
3 changed files with 3 additions and 3 deletions

View File

@@ -933,7 +933,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
self.log,
"Beacon block imported";
"block_root" => format!("{:?}", block_root),
"block_slot" => format!("{:?}", block_root),
"block_slot" => format!("{:?}", block.slot.as_u64()),
);
let _ = self.event_handler.register(EventKind::BeaconBlockImported {
block_root: *block_root,

View File

@@ -35,7 +35,7 @@ $ lighthouse bn testnet -f recent 8
In a new terminal window, start the validator client with:
```bash
$ lighthouse bn testnet -b insecure 0 8
$ lighthouse vc testnet -b insecure 0 8
```
> Notes:

View File

@@ -14,7 +14,7 @@ impl TestingAttestationDataBuilder {
pub fn new<T: EthSpec>(
test_task: AttestationTestTask,
state: &BeaconState<T>,
mut index: u64,
index: u64,
mut slot: Slot,
spec: &ChainSpec,
) -> Self {