File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def validate_proposer_signature(state: BeaconState,
28
28
block : BaseBeaconBlock ,
29
29
beacon_chain_shard_number : int ,
30
30
epoch_length : int ) -> None :
31
- block_without_signature_root = BaseBeaconBlock .create_block_without_signature_root (block ). root
31
+ block_without_signature_root = BaseBeaconBlock .get_block_without_signature_root (block )
32
32
33
33
proposal_root = ProposalSignedData (
34
34
state .slot ,
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def num_attestations(self) -> int:
115
115
return len (self .body .attestations )
116
116
117
117
@classmethod
118
- def create_block_without_signature_root (
118
+ def get_block_without_signature_root (
119
119
cls ,
120
120
block : 'BaseBeaconBlock' ) -> 'BaseBeaconBlock' :
121
121
return cls (
@@ -126,4 +126,4 @@ def create_block_without_signature_root(
126
126
candidate_pow_receipt_root = block .candidate_pow_receipt_root ,
127
127
signature = EMPTY_SIGNATURE ,
128
128
body = block .body ,
129
- )
129
+ ). root
You can’t perform that action at this time.
0 commit comments