diff --git a/test/functional/feature_notifications.py b/test/functional/feature_notifications.py index 9c409b321f6..e983d5a2b83 100755 --- a/test/functional/feature_notifications.py +++ b/test/functional/feature_notifications.py @@ -11,6 +11,7 @@ from test_framework.blocktools import ( create_block, ) from test_framework.descriptors import descsum_create +from test_framework.extendedkey import ExtendedPrivateKey from test_framework.test_framework import BitcoinTestFramework from test_framework.util import ( assert_equal, @@ -74,7 +75,7 @@ class NotificationsTest(BitcoinTestFramework): def run_test(self): if self.is_wallet_compiled(): # Setup the descriptors to be imported to the wallet - xpriv = "tprv8ZgxMBicQKsPfHCsTwkiM1KT56RXbGGTqvc2hgqzycpwbHqqpcajQeMRZoBD35kW4RtyCemu6j34Ku5DEspmgjKdt2qe4SvRch5Kk8B8A2v" + xpriv = ExtendedPrivateKey.generate().to_string() desc_imports = [{ "desc": descsum_create(f"wpkh({xpriv}/0/*)"), "timestamp": 0,