diff --git a/tests/patched/blockchain_tools.py b/tests/patched/blockchain_tools.py index 8f3dbc20e9ef1f6d3777f447b36d37a56208521f..673b203069a23f07d171a61bd19ab41db34b6b6d 100644 --- a/tests/patched/blockchain_tools.py +++ b/tests/patched/blockchain_tools.py @@ -27,6 +27,14 @@ mocked_block = { "hash": "0000010D30B1284D34123E036B7BE0A449AE9F2B928A77D7D20E3BDEAC7EE14C", } +mocked_block_gtest = { + "number": 48000, + "time": 1592243760, + "unitbase": 0, + "currency": "g1-test", + "hash": "0000010D30B1284D34123E036B7BE0A449AE9F2B928A77D7D20E3BDEAC7EE14C", +} + fake_block_id = BlockID( 48000, "0000010D30B1284D34123E036B7BE0A449AE9F2B928A77D7D20E3BDEAC7EE14C" ) @@ -46,3 +54,7 @@ def patched_block(self, number): ## mock head_block() def patched_head_block(self): return mocked_block + + +def patched_head_block_gtest(self): + return mocked_block_gtest