Skip to content

Commit c7fdd99

Browse files
djrtwohwwhww
andcommitted
Apply suggestions from code review
Co-Authored-By: hwwhww <[email protected]>
1 parent 5a4ad17 commit c7fdd99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/beacon/state_machines/forks/serenity/validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def validate_serenity_proposer_signature(state: BeaconState,
4848
proposal_root = ProposalSignedData(
4949
state.slot,
5050
beacon_chain_shard_number,
51-
block_without_signature_root
51+
block_without_signature_root,
5252
).root
5353

5454
# Get the public key of proposer
@@ -59,7 +59,7 @@ def validate_serenity_proposer_signature(state: BeaconState,
5959
pubkey=proposer_pubkey,
6060
message=proposal_root,
6161
signature=block.signature,
62-
domain=get_domain(state.fork_data, state.slot, SignatureDomain.DOMAIN_PROPOSAL)
62+
domain=get_domain(state.fork_data, state.slot, SignatureDomain.DOMAIN_PROPOSAL),
6363
)
6464

6565
if not is_valid_signature:

0 commit comments

Comments
 (0)