diff --git a/src/lib/wallet/GoodWalletClass.js b/src/lib/wallet/GoodWalletClass.js index 5c8dd2ff93..7046e70aab 100644 --- a/src/lib/wallet/GoodWalletClass.js +++ b/src/lib/wallet/GoodWalletClass.js @@ -290,9 +290,6 @@ export class GoodWallet { // OneTimePaymentLinks Contract this.oneTimePaymentsContract = addContract(OneTimePaymentsABI, 'OneTimePayments') - // OneTimePaymentsV2 Contract - this.oneTimePaymentsContract = addContract(OneTimePaymentsABI, 'OneTimePaymentsV2') - // UBI Contract this.invitesContract = addContract(InvitesABI, 'Invites', '0x5a35C3BC159C4e4afAfadbdcDd8dCd2dd8EC8CBE') @@ -1628,7 +1625,7 @@ export class GoodWallet { gas = await tx.estimateGas().then(cost => (Number(cost) + 40000).toFixed(0)) } catch (e) { if (e.message.toLowerCase().includes('revert')) { - log.error('sendTransaction gas estimate reverted:', e.message, e, { + log.warn('sendTransaction gas estimate reverted:', e.message, e, { method: tx._method?.name, tx: tx._method, }) @@ -1716,7 +1713,7 @@ export class GoodWallet { onConfirmation(confirmation) }) .on('error', exception => { - log.error('sendTransaction error:', exception.message, exception, { + log.error('sendNativeTransaction error:', exception.message, exception, { tx: txData, category: ExceptionCategory.Blockhain, })