X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Frpcwallet.cpp;h=eb302faeba84773e37bf83f8950a48c527880d50;hp=757e7f48f7597c385f80e6ba99bd9ccc9800d9d3;hb=refs%2Fpull%2F367%2Fhead;hpb=415da519893e8fef7a10007fc82934385addd03d diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 757e7f4..eb302fa 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -704,7 +704,7 @@ Value sendfrom(const Array& params, bool fHelp) // Parse address CScript scriptPubKey; - string strAddress = params[0].get_str(); + string strAddress = params[1].get_str(); CBitcoinAddress address(strAddress); if (address.IsValid())