Fix bug in operations for block production
This commit is contained in:
parent
fbb40485c1
commit
e904e0a5a8
@ -748,14 +748,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
graffiti,
|
graffiti,
|
||||||
proposer_slashings,
|
proposer_slashings,
|
||||||
attester_slashings,
|
attester_slashings,
|
||||||
attestations: self
|
attestations: self.op_pool.get_attestations(&state, &self.spec),
|
||||||
.op_pool
|
deposits: self.op_pool.get_deposits(&state, &self.spec),
|
||||||
.get_attestations(&*self.state.read(), &self.spec),
|
voluntary_exits: self.op_pool.get_voluntary_exits(&state, &self.spec),
|
||||||
deposits: self.op_pool.get_deposits(&*self.state.read(), &self.spec),
|
transfers: self.op_pool.get_transfers(&state, &self.spec),
|
||||||
voluntary_exits: self
|
|
||||||
.op_pool
|
|
||||||
.get_voluntary_exits(&*self.state.read(), &self.spec),
|
|
||||||
transfers: self.op_pool.get_transfers(&*self.state.read(), &self.spec),
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user