Closed shuse2 closed 5 years ago
@shuse2 , did you check other transaction types? I think we should do this for all transaction definitions.
@SargeKhan Yes, base transaction is covered, and for asset, I think there is no optional field for other transactions
What was the problem?
Optional field should accept null and undefined for the validation
How did I fix it?
In constructor, change the null to undefined
How to test it?
npm t
Review checklist