aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-09-07 07:13:23 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-09-07 07:13:23 -0700
commitdb1967957d22067b01cb8ce1afb28477d9b56146 (patch)
treedd6596f9c54617c361c32ac47ebcc2adfafbca82 /src
parent7b1504ccb802ad45277fe5eda3473f099f4ab94d (diff)
parentaf8c050bffe6b9529c3a2ecb71699d4bf77b8aae (diff)
Merge pull request #1798 from xanatos/patch-19
Wrong address added to collection in test (address1 instead of address2)
Diffstat (limited to 'src')
-rw-r--r--src/test/rpc_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rpc_tests.cpp b/src/test/rpc_tests.cpp
index e6c00e39d8..eb820ade6d 100644
--- a/src/test/rpc_tests.cpp
+++ b/src/test/rpc_tests.cpp
@@ -17,7 +17,7 @@ createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL)
result.push_back(nRequired);
Array addresses;
if (address1) addresses.push_back(address1);
- if (address2) addresses.push_back(address1);
+ if (address2) addresses.push_back(address2);
result.push_back(addresses);
return result;
}