diff options
| author | Wladimir J. van der Laan <[email protected]> | 2020-03-28 19:10:07 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2020-03-28 19:26:45 +0100 |
| commit | 1668c80bdcc3c2742fbe220573f5b5248129f3fa (patch) | |
| tree | 8a594548fc1dbcc8c44a798486b3eef47c20e7ad /src/wallet | |
| parent | Merge #18415: scripts: add MACHO tests to test-security-check.py (diff) | |
| parent | util: Replace i64tostr with ToString (diff) | |
| download | discoin-1668c80bdcc3c2742fbe220573f5b5248129f3fa.tar.xz discoin-1668c80bdcc3c2742fbe220573f5b5248129f3fa.zip | |
Merge #18449: util: Remove unused itostr
faaf1cb5b9a4c22b21757f7578833f908b79b867 util: Replace i64tostr with ToString (MarcoFalke)
fac96fff624a3ab65209dcd3378efb6e6ab47a58 util: Remove unused itostr (MarcoFalke)
Pull request description:
Currently unused, but if someone really needed to use a helper with this functionality in the future, they could use `ToString`.
ACKs for top commit:
laanwj:
ACK faaf1cb5b9a4c22b21757f7578833f908b79b867
promag:
Code review ACK faaf1cb5b9a4c22b21757f7578833f908b79b867.
Tree-SHA512: 42180c03f51d677f7b69da23c7868bdd88944335fad0752fcc307f2c3e3c69f1cc1b316ac0875bcefb9a69c5d55200d7cf66843ea4c0f0f26baf7a054b96c1bb
Diffstat (limited to 'src/wallet')
| -rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 75fd14a80..9a83c84fc 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -16,6 +16,7 @@ #include <ui_interface.h> #include <util/message.h> #include <util/strencodings.h> +#include <util/string.h> #include <util/system.h> #include <validationinterface.h> #include <wallet/coinselection.h> @@ -215,7 +216,7 @@ static inline void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue) { if (nOrderPos == -1) return; - mapValue["n"] = i64tostr(nOrderPos); + mapValue["n"] = ToString(nOrderPos); } struct COutputEntry |