mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Merge pull request #1798 from xanatos/patch-19
Wrong address added to collection in test (address1 instead of address2)
This commit is contained in:
commit
db1967957d
@ -17,7 +17,7 @@ createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL)
|
|||||||
result.push_back(nRequired);
|
result.push_back(nRequired);
|
||||||
Array addresses;
|
Array addresses;
|
||||||
if (address1) addresses.push_back(address1);
|
if (address1) addresses.push_back(address1);
|
||||||
if (address2) addresses.push_back(address1);
|
if (address2) addresses.push_back(address2);
|
||||||
result.push_back(addresses);
|
result.push_back(addresses);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user