@@ -72,7 +72,11 @@ async function sendTx(txObject) {
7272 // don't wait for confirmation
7373 signedTxs . push ( signedTx . rawTransaction )
7474 if ( ! dontSendTx ) {
75- web3 . eth . sendSignedTransaction ( signedTx . rawTransaction , { from :sender } ) ;
75+ try {
76+ web3 . eth . sendSignedTransaction ( signedTx . rawTransaction , { from :sender } ) ;
77+ } catch ( e ) {
78+ console . error ( e ) ;
79+ }
7680 }
7781}
7882
@@ -105,9 +109,9 @@ const input = {
105109 "Utils.sol" : fs . readFileSync ( contractPath + 'Utils.sol' , 'utf8' ) ,
106110 "KyberReserveInterface.sol" : fs . readFileSync ( contractPath + 'KyberReserveInterface.sol' , 'utf8' ) ,
107111 "Withdrawable.sol" : fs . readFileSync ( contractPath + 'Withdrawable.sol' , 'utf8' ) ,
108- "KyberReserve.sol" : fs . readFileSync ( contractPath + 'KyberReserve.sol' , 'utf8' ) ,
109- "LiquidityConversionRates.sol" : fs . readFileSync ( contractPath + 'LiquidityConversionRates.sol' , 'utf8' ) ,
110- "LiquidityFormula.sol" : fs . readFileSync ( contractPath + 'LiquidityFormula.sol' , 'utf8' ) ,
112+ "KyberReserve.sol" : fs . readFileSync ( contractPath + 'reserves/ KyberReserve.sol' , 'utf8' ) ,
113+ "LiquidityConversionRates.sol" : fs . readFileSync ( contractPath + '/reserves/aprConversionRate/ LiquidityConversionRates.sol' , 'utf8' ) ,
114+ "LiquidityFormula.sol" : fs . readFileSync ( contractPath + '/reserves/aprConversionRate/ LiquidityFormula.sol' , 'utf8' ) ,
111115} ;
112116
113117let reserveAddress ;
0 commit comments