Browse Source

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).
pull/1/head
xanatos 10 years ago
parent
commit
af8c050bff
  1. 2
      src/test/rpc_tests.cpp

2
src/test/rpc_tests.cpp

@ -17,7 +17,7 @@ createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL) @@ -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;
}

Loading…
Cancel
Save