mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:45:01 -05:00
bugfix, make BLS wrapper propagate test output properly
This commit is contained in:
@@ -76,6 +76,7 @@ def bls_switch(fn):
|
||||
def entry(*args, **kw):
|
||||
old_state = bls.bls_active
|
||||
bls.bls_active = kw.pop('bls_active', DEFAULT_BLS_ACTIVE)
|
||||
fn(*args, **kw)
|
||||
out = fn(*args, **kw)
|
||||
bls.bls_active = old_state
|
||||
return out
|
||||
return entry
|
||||
|
||||
Reference in New Issue
Block a user