From 171366e89b828a557f8262d9dc14ff7a03f813f7 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Wed, 23 Jun 2021 16:54:13 -0400 Subject: [PATCH] Use bilingual_str for address fetching functions For GetNewDestination, GetNewChangeDestination, and GetReservedDestination, use bilingual_str for errors --- src/test/util/wallet.cpp | 3 ++- src/wallet/interfaces.cpp | 3 ++- src/wallet/rpcwallet.cpp | 8 ++++---- src/wallet/scriptpubkeyman.cpp | 24 ++++++++++++------------ src/wallet/scriptpubkeyman.h | 12 ++++++------ src/wallet/spend.cpp | 4 ++-- src/wallet/test/coinselector_tests.cpp | 3 ++- src/wallet/test/wallet_tests.cpp | 2 +- src/wallet/wallet.cpp | 10 +++++----- src/wallet/wallet.h | 6 +++--- 10 files changed, 39 insertions(+), 36 deletions(-) diff --git a/src/test/util/wallet.cpp b/src/test/util/wallet.cpp index fd6012e9fe..061659818f 100644 --- a/src/test/util/wallet.cpp +++ b/src/test/util/wallet.cpp @@ -8,6 +8,7 @@ #include #include