Mercurial > hg > bitcoin
changeset 578:047e6546dcce draft
Help for sendtoaddress/sendfrom was wrong: amounts are rounded to 0.00000001
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Mon, 09 May 2011 14:26:41 -0400 (2011-05-09) |
parents | 9d8d226fe556 |
children | d7825b6ef91b a1db9789c0bd c810d8d6be07 |
files | src/rpc.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -470,7 +470,7 @@ if (fHelp || params.size() < 2 || params.size() > 4) throw runtime_error( "sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to]\n" - "<amount> is a real and is rounded to the nearest 0.01"); + "<amount> is a real and is rounded to the nearest 0.00000001"); string strAddress = params[0].get_str(); @@ -748,7 +748,7 @@ if (fHelp || params.size() < 3 || params.size() > 6) throw runtime_error( "sendfrom <fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to]\n" - "<amount> is a real and is rounded to the nearest 0.01"); + "<amount> is a real and is rounded to the nearest 0.00000001"); string strAccount = AccountFromValue(params[0]); string strAddress = params[1].get_str();