Merge pull request #1798 from xanatos/patch-19

Wrong address added to collection in test (address1 instead of address2)
This commit is contained in:
Wladimir J. van der Laan 2012-09-07 07:13:23 -07:00
commit db1967957d

View File

@ -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;
}