From af8c050bffe6b9529c3a2ecb71699d4bf77b8aae Mon Sep 17 00:00:00 2001 From: xanatos Date: Fri, 7 Sep 2012 16:04:39 +0300 Subject: [PATCH] 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). --- src/test/rpc_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rpc_tests.cpp b/src/test/rpc_tests.cpp index e6c00e39..eb820ade 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; }