aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-08-07 14:38:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-08-07 17:01:21 +0200
commit46347add438d49a69f34a3f2ab755feda7daff10 (patch)
tree24025b570a23124335f6ce839a797bfc291102f7 /src/rpc/net.cpp
parentdac37823d4799477b19434d4d53c74c4af455c76 (diff)
downloadbitcoin-46347add438d49a69f34a3f2ab755feda7daff10.tar.xz
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/net.cpp')
-rw-r--r--src/rpc/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index b4d6795e62..6271e0cc83 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -6,6 +6,7 @@
#include "chainparams.h"
#include "clientversion.h"
+#include "core_io.h"
#include "validation.h"
#include "net.h"
#include "net_processing.h"