minor lint fixes

This commit is contained in:
protolambda 2020-01-06 00:49:32 +01:00
parent 68d93f945c
commit ba10046cc1
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,8 @@ class Phase0(Spec):
class Phase1(Spec):
def upgrade_to_phase1(self, state: spec_phase0.BeaconState) -> spec_phase1.BeaconState: ...
def upgrade_to_phase1(self, state: spec_phase0.BeaconState) -> spec_phase1.BeaconState:
...
# add transfer, bridge, etc. as the spec evolves

View File

@ -95,7 +95,6 @@ def sign_indexed_attestation(spec, state, indexed_attestation):
indexed_attestation.attestation.signature = sign_aggregate_attestation(spec, state, data, participants)
def sign_attestation(spec, state, attestation):
participants = spec.get_attesting_indices(
state,