Updated on 2026-08-14

This commit is contained in:
Tangem 2018-11-02 13:50:26 +03:00
parent c125a503eb
commit 36e88c9c72
2 changed files with 1 additions and 5 deletions

View file

@ -66,11 +66,9 @@ class SendTransactionActivity : AppCompatActivity(), NfcAdapter.ReaderCallback {
finishWithSuccess()
} catch (e: Exception) {
e.printStackTrace()
requestElectrum(ctx.card!!, ElectrumRequest.broadcast(ctx.card!!.wallet, tx))
}
} catch (e: JSONException) {
e.printStackTrace()
requestElectrum(ctx.card!!, ElectrumRequest.broadcast(ctx.card!!.wallet, tx))
}
}
}
@ -93,7 +91,6 @@ class SendTransactionActivity : AppCompatActivity(), NfcAdapter.ReaderCallback {
hashTX = tmp
} catch (e: JSONException) {
e.printStackTrace()
requestInfura(ServerApiHelper.INFURA_ETH_SEND_RAW_TRANSACTION, "")
return
}
@ -108,7 +105,6 @@ class SendTransactionActivity : AppCompatActivity(), NfcAdapter.ReaderCallback {
finishWithSuccess()
} catch (e: Exception) {
e.printStackTrace()
requestInfura(ServerApiHelper.INFURA_ETH_SEND_RAW_TRANSACTION, "")
}
}
}