git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
415da51
)
Fix wrong index in sendfrom function
367/head
author
svost
<svost@users.noreply.github.com>
Fri, 14 Apr 2017 06:35:44 +0000 (09:35 +0300)
committer
GitHub
<noreply@github.com>
Fri, 14 Apr 2017 06:35:44 +0000 (09:35 +0300)
src/rpcwallet.cpp
patch
|
blob
|
history
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
757e7f4
..
eb302fa
100644
(file)
--- 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())