This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
Update base transaction constructor to accept without id or signature #995
Labels
Projects
Milestone
Expected behavior
When creating the transaction, id and signature does not exit before signing the transaction.
However, in order to call instance methods (ex: getBytes) when signing, constructor need to accept empty id and signature.
This should be checked on checkSchema.
Actual behavior
Rejected at the constructor if id or signature is empty
The text was updated successfully, but these errors were encountered: