From e8adcf88cd36340cabef6e82dc18e712714f5081 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 9 May 2011 14:26:41 -0400 Subject: Help for sendtoaddress/sendfrom was wrong: amounts are rounded to 0.00000001 --- src/rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index f95038303a..3aec7efbe1 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -470,7 +470,7 @@ Value sendtoaddress(const Array& params, bool fHelp) if (fHelp || params.size() < 2 || params.size() > 4) throw runtime_error( "sendtoaddress [comment] [comment-to]\n" - " is a real and is rounded to the nearest 0.01"); + " is a real and is rounded to the nearest 0.00000001"); string strAddress = params[0].get_str(); @@ -748,7 +748,7 @@ Value sendfrom(const Array& params, bool fHelp) if (fHelp || params.size() < 3 || params.size() > 6) throw runtime_error( "sendfrom [minconf=1] [comment] [comment-to]\n" - " is a real and is rounded to the nearest 0.01"); + " is a real and is rounded to the nearest 0.00000001"); string strAccount = AccountFromValue(params[0]); string strAddress = params[1].get_str(); -- cgit v1.2.3