mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-07 17:55:07 -05:00
compute_domain for consistency with get_domain
This commit is contained in:
@@ -19,7 +19,7 @@ def build_deposit_data(spec, pubkey, privkey, amount, withdrawal_credentials, st
|
||||
def sign_deposit_data(spec, deposit_data, privkey, state=None):
|
||||
if state is None:
|
||||
# Genesis
|
||||
domain = spec.compute_bls_domain(spec.DOMAIN_DEPOSIT)
|
||||
domain = spec.compute_domain(spec.DOMAIN_DEPOSIT)
|
||||
else:
|
||||
domain = spec.get_domain(
|
||||
state,
|
||||
|
||||
Reference in New Issue
Block a user