Open hswick opened 6 years ago
Using async/await instead of promise.then is much cleaner.
Check out here: https://github.com/TrueBitFoundation/incentive-layer/blob/master/test/incentive_layer.js
@hswick Thanks. It is exactly what I wanted to improve!
Using async/await instead of promise.then is much cleaner.
Check out here: https://github.com/TrueBitFoundation/incentive-layer/blob/master/test/incentive_layer.js