Created
June 8, 2020 13:16
-
-
Save Tschakki/68387888cd8e50d5d708f8a94f29ee4e to your computer and use it in GitHub Desktop.
Decentralized Organization Chain - Add Poll tx snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (sender.asset.user.type !== "board") { | |
errors.push( | |
new TransactionError("Sender is not registered as a board member.") | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment