Last active
December 28, 2017 17:41
-
-
Save didil/f97698f8885f1a1ac6e930aa3229d87e to your computer and use it in GitHub Desktop.
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
$ truffle console | |
truffle(regulator)> SecretBallot.deployed().then((instance) => instance.getTotalVotes(1)).then((result) => result.toNumber()) | |
2 | |
truffle(regulator)> SecretBallot.deployed().then((instance) => instance.getTotalVotes(2)).then((result) => result.toNumber()) | |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment