Last active
October 8, 2018 12:24
-
-
Save ngrinkevich/c1b715d36fccd971d615b7ed43532f44 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
async requestRelayEntry() { | |
let request = await this.state.randomBeacon.requestRelayEntry(0, 0, 0, "", {from: this.state.yourAddress, gas: 150000}); | |
let requestId = request.logs[0].args.requestID.toNumber(); | |
this.setState({ | |
loading: true, | |
requestId: requestId | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment