diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-08-07 14:38:39 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-08-07 17:01:21 +0200 |
| commit | 46347add438d49a69f34a3f2ab755feda7daff10 (patch) | |
| tree | 24025b570a23124335f6ce839a797bfc291102f7 /src/rpc/server.h | |
| parent | doc: Correct AmountFromValue/ValueFromAmount names (diff) | |
| download | discoin-46347add438d49a69f34a3f2ab755feda7daff10.tar.xz discoin-46347add438d49a69f34a3f2ab755feda7daff10.zip | |
rpc: Move ValueFromAmount to core_write
This is necessary because core_write has to write amounts in
TxToUniv, and mistakingly uses FormatMoney for that
(which is only for debugging).
We don't move AmountFromValue at the same time, as
this is more challenging due to the RPCError depencency
there.
Diffstat (limited to 'src/rpc/server.h')
| -rw-r--r-- | src/rpc/server.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index b20c82772..dd6f76324 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -185,7 +185,6 @@ extern std::vector<unsigned char> ParseHexV(const UniValue& v, std::string strNa extern std::vector<unsigned char> ParseHexO(const UniValue& o, std::string strKey); extern CAmount AmountFromValue(const UniValue& value); -extern UniValue ValueFromAmount(const CAmount& amount); extern std::string HelpExampleCli(const std::string& methodname, const std::string& args); extern std::string HelpExampleRpc(const std::string& methodname, const std::string& args); |