diff --git a/test/functional/test_framework/wallet.py b/test/functional/test_framework/wallet.py index 2007d21f71..0e973611bc 100644 --- a/test/functional/test_framework/wallet.py +++ b/test/functional/test_framework/wallet.py @@ -8,6 +8,7 @@ from copy import deepcopy from decimal import Decimal from enum import Enum from test_framework.address import ADDRESS_BCRT1_P2SH_OP_TRUE +from test_framework.descriptors import descsum_create from test_framework.key import ECKey from random import choice from typing import Optional @@ -124,7 +125,7 @@ class MiniWallet: return blocks def get_descriptor(self): - return self._test_node.getdescriptorinfo(f'raw({self._scriptPubKey.hex()})')['descriptor'] + return descsum_create(f'raw({self._scriptPubKey.hex()})') def get_address(self): return self._address