mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
feature_confidential_transactions: Use system temp dir instead of hardcoded /tmp
This commit is contained in:
parent
cd67236c12
commit
305de6d265
1 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ from test_framework.util import (
|
|||
)
|
||||
import os
|
||||
import re
|
||||
import tempfile
|
||||
|
||||
from test_framework.liquid_addr import (
|
||||
encode,
|
||||
|
|
@ -51,7 +52,7 @@ class CTTest (BitcoinTestFramework):
|
|||
self.skip_if_no_wallet()
|
||||
|
||||
def test_wallet_recovery(self):
|
||||
file_path = "/tmp/blind_details"
|
||||
file_path = os.path.join(tempfile.gettempdir(), "blind_details")
|
||||
try:
|
||||
os.remove(file_path)
|
||||
except OSError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue