Closed shuse2 closed 5 years ago
Constructor did not accept recipientId as null, but genesis block contains vote transaction with null recipientId
accept null as input of recipientId, and converted to empty string internally. It will be validated at validate function.
null
validate
Create VoteTransaction with null recipientId
What was the problem?
Constructor did not accept recipientId as null, but genesis block contains vote transaction with null recipientId
How did I fix it?
accept
null
as input of recipientId, and converted to empty string internally. It will be validated atvalidate
function.How to test it?
Create VoteTransaction with null recipientId
Review checklist