aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-11-25 16:40:25 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-11-25 16:40:25 +0000
commitb7ccd48dd8dd2fb5c37f81e734673e998fd2d78a (patch)
tree92b61fa5bbf69e14f2191d48d8364adc93da698e /rpc.cpp
parent776d0f34595fd616129d4816a337662ff39de7c6 (diff)
still working on account-based commands getbalance, move and sendfrom, they're only for testing for now
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@190 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc.cpp b/rpc.cpp
index 113de85a9d..422113a449 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -628,6 +628,8 @@ Value getbalance(const Array& params, bool fHelp)
if (params.size() == 0)
return ((double)GetBalance() / (double)COIN);
+ throw runtime_error("under construction"); //// to be released soon
+
string strAccount = params[0].get_str();
int nMinDepth = 1;
if (params.size() > 1)