The following code in truffle
(v4.0-beta) is failing:
.then(() => web3.eth.sendTransaction(
{from: accounts[0], to: swt.address, value: 1e10}))
Error: Synchronous requests are not supported.
Is there a way to send ETH using asynchronous transaction?