mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge a377510e3a into merged_master (Bitcoin PR bitcoin/bitcoin#23643)
This commit is contained in:
commit
df7706fbf9
2 changed files with 2 additions and 2 deletions
|
|
@ -594,7 +594,7 @@ static RPCHelpMan getmemoryinfo()
|
|||
#ifdef HAVE_MALLOC_INFO
|
||||
return RPCMallocInfo();
|
||||
#else
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "mallocinfo is only available when compiled with glibc 2.10+");
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "mallocinfo mode not available");
|
||||
#endif
|
||||
} else {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "unknown mode " + mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue