From c74b567fe4fe7f894799fab0314e5e1c636b1dcc Mon Sep 17 00:00:00 2001 From: SChernykh Date: Tue, 15 Aug 2023 08:00:11 +0200 Subject: [PATCH] Update stratum_dummy.py --- tests/src/stratum_dummy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/stratum_dummy.py b/tests/src/stratum_dummy.py index c5474f1..5091197 100644 --- a/tests/src/stratum_dummy.py +++ b/tests/src/stratum_dummy.py @@ -77,7 +77,7 @@ while True: else: t[i] = 255 - result = ('0' * (64 - len(target))) + t.hex() + result = ('f' * (64 - len(target))) + t.hex() request = '{"id":' + str(msg_id) + ',"method":"submit","params":{"id":"' + rpc_id + '","job_id":"' + job_id + '","nonce":"ffffffff","result":"' + result + '"}}\n' msg_id += 1