The blocks stats JSON needed to be regenerated to BGL network in order for the test case to pass.
1/1 - rpc_getblockstats.py passed, Duration: 1 s
TEST | STATUS | DURATION
rpc_getblockstats.py | ✓ Passed | 1 s
ALL | ✓ Passed | 1 s (accumulated)
Runtime: 1 s
Notes
In order to generate test data I patched mocked time to current time and created a new BGL wallet in generate_test_data method.
Fixes rpc_getblockstats functional test case.
Description
The blocks stats JSON needed to be regenerated to BGL network in order for the test case to pass.
Notes
In order to generate test data I patched mocked time to current time and created a new BGL wallet in generate_test_data method.