mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 22:38:11 +00:00
bugfix, make BLS wrapper propagate test output properly
This commit is contained in:
parent
cfc037fe75
commit
8303c58aa4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user