Skip to content

Commit 69139fe

Browse files
committed
feature_confidential_transactions: Use system temp dir instead of hardcoded /tmp
1 parent cd67236 commit 69139fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/feature_confidential_transactions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
)
2626
import os
2727
import re
28+
import tempfile
2829

2930
from test_framework.liquid_addr import (
3031
encode,
@@ -51,7 +52,7 @@ def skip_test_if_missing_module(self):
5152
self.skip_if_no_wallet()
5253

5354
def test_wallet_recovery(self):
54-
file_path = "/tmp/blind_details"
55+
file_path = tempfile.gettempdir()+"/blind_details"
5556
try:
5657
os.remove(file_path)
5758
except OSError:

0 commit comments

Comments
 (0)