1.sendSignedTransacrtionの待ち時間の調整
Ropstenのtest networkでは、Ganacheのlocal networkと異なりsendSignedTransacrtionので待ち時間が長い
2.対策
・ transactionConfirmationBlocksの設定変更
・あえて1ではなく2 にする
const web3 = eth.getWeb3(); web3.eth.transactionConfirmationBlocks = 2;
The current value of transactionConfirmationBlocks (default: 24)