aboutsummaryrefslogtreecommitdiff
path: root/src/test/rpc_tests.cpp
diff options
context:
space:
mode:
authorxanatos <xanatos@geocities.com>2012-09-07 16:04:39 +0300
committerxanatos <xanatos@geocities.com>2012-09-07 16:04:39 +0300
commitaf8c050bffe6b9529c3a2ecb71699d4bf77b8aae (patch)
treef5413b269416b5287ef25912457fcc90cce217a8 /src/test/rpc_tests.cpp
parentb9a4aaad1e8279276002f54d66c0e9a8a5de6f56 (diff)
Wrong address added to collection in test
The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
Diffstat (limited to 'src/test/rpc_tests.cpp')
-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;
}