mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge f8364df250 into merged_master (Bitcoin PR #19176)
This commit is contained in:
commit
3aaeae55ea
13 changed files with 60 additions and 50 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <tinyformat.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <util/string.h>
|
||||
#include <util/translation.h>
|
||||
#include <policy/policy.h>
|
||||
#include <assetsdir.h>
|
||||
#include <core_io.h>
|
||||
|
|
@ -296,7 +297,7 @@ UniValue JSONRPCTransactionError(TransactionError terr, const std::string& err_s
|
|||
if (err_string.length() > 0) {
|
||||
return JSONRPCError(RPCErrorFromTransactionError(terr), err_string);
|
||||
} else {
|
||||
return JSONRPCError(RPCErrorFromTransactionError(terr), TransactionErrorString(terr));
|
||||
return JSONRPCError(RPCErrorFromTransactionError(terr), TransactionErrorString(terr).original);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue