test.overlay.fakemods: mmgen.rpc -> mmgen.rpc.__init__
This commit is contained in:
parent
f8109a9412
commit
d6a02ded2f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import os as overlay_fake_os
|
||||
from .rpc_orig import *
|
||||
from .__init___orig import *
|
||||
|
||||
if overlay_fake_os.getenv('MMGEN_TEST_SUITE_BOGUS_UNSPENT_DATA'):
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ if overlay_fake_os.getenv('MMGEN_TEST_SUITE_BOGUS_UNSPENT_DATA'):
|
|||
rpc_init = rpc_init
|
||||
|
||||
async def rpc_init(*args, **kwargs):
|
||||
from .obj import NonNegativeInt
|
||||
from ..obj import NonNegativeInt
|
||||
ret = await overlay_fake_data.rpc_init(*args, **kwargs)
|
||||
ret.blockcount = NonNegativeInt(1000000)
|
||||
return ret
|
||||
Loading…
Reference in a new issue