Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.