mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Fix a few docs/logs
This commit is contained in:
@@ -933,7 +933,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
self.log,
|
self.log,
|
||||||
"Beacon block imported";
|
"Beacon block imported";
|
||||||
"block_root" => format!("{:?}", block_root),
|
"block_root" => format!("{:?}", block_root),
|
||||||
"block_slot" => format!("{:?}", block_root),
|
"block_slot" => format!("{:?}", block.slot.as_u64()),
|
||||||
);
|
);
|
||||||
let _ = self.event_handler.register(EventKind::BeaconBlockImported {
|
let _ = self.event_handler.register(EventKind::BeaconBlockImported {
|
||||||
block_root: *block_root,
|
block_root: *block_root,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ $ lighthouse bn testnet -f recent 8
|
|||||||
In a new terminal window, start the validator client with:
|
In a new terminal window, start the validator client with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ lighthouse bn testnet -b insecure 0 8
|
$ lighthouse vc testnet -b insecure 0 8
|
||||||
```
|
```
|
||||||
|
|
||||||
> Notes:
|
> Notes:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ impl TestingAttestationDataBuilder {
|
|||||||
pub fn new<T: EthSpec>(
|
pub fn new<T: EthSpec>(
|
||||||
test_task: AttestationTestTask,
|
test_task: AttestationTestTask,
|
||||||
state: &BeaconState<T>,
|
state: &BeaconState<T>,
|
||||||
mut index: u64,
|
index: u64,
|
||||||
mut slot: Slot,
|
mut slot: Slot,
|
||||||
spec: &ChainSpec,
|
spec: &ChainSpec,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user