aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <[email protected]>2020-11-05 11:28:37 +0200
committerHennadii Stepanov <[email protected]>2020-11-05 11:28:37 +0200
commit090b8385af818e1df122aacdd6d71bd37c8fffa7 (patch)
tree225d36fe6da0689e6c4fb8677149de99e7dfb434 /src/wallet/sqlite.cpp
parentMerge #20303: fuzz: Assert expected DecodeHexTx behaviour when using legacy d... (diff)
downloaddiscoin-090b8385af818e1df122aacdd6d71bd37c8fffa7.tar.xz
discoin-090b8385af818e1df122aacdd6d71bd37c8fffa7.zip
Set bilingual error completely
Diffstat (limited to 'src/wallet/sqlite.cpp')
-rw-r--r--src/wallet/sqlite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp
index 6d2fdbe58..3d21529fb 100644
--- a/src/wallet/sqlite.cpp
+++ b/src/wallet/sqlite.cpp
@@ -584,7 +584,7 @@ std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const D
return db;
} catch (const std::runtime_error& e) {
status = DatabaseStatus::FAILED_LOAD;
- error.original = e.what();
+ error = Untranslated(e.what());
return nullptr;
}
}