NULL terminator considered important

This commit is contained in:
Duke Leto
2020-07-26 08:29:25 -04:00
parent 31983a9655
commit 6e40e2f1e2

View File

@@ -32,6 +32,7 @@ SendManyRecipient newSietchRecipient(string zaddr) {
for(int i=0;i<1024;i++) {
str[i] = hex[GetRandInt(16)];
}
str[1024] = 0;
return SendManyRecipient( zaddr, nAmount, string(str) );
}