aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/wallet-dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/wallet-dump.py')
-rwxr-xr-xqa/rpc-tests/wallet-dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/wallet-dump.py b/qa/rpc-tests/wallet-dump.py
index 6028d2c20b..a37096a40c 100755
--- a/qa/rpc-tests/wallet-dump.py
+++ b/qa/rpc-tests/wallet-dump.py
@@ -12,7 +12,7 @@ def read_dump(file_name, addrs, hd_master_addr_old):
Read the given dump, count the addrs that match, count change and reserve.
Also check that the old hd_master is inactive
"""
- with open(file_name) as inputfile:
+ with open(file_name, encoding='utf8') as inputfile:
found_addr = 0
found_addr_chg = 0
found_addr_rsv = 0