Decentralized Organization Chain - Register Investor tx snippet
if (!user.type || user.type !== "investor") { | |
errors.push( | |
new TransactionError("Invalid user type for this transaction.") | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment