Updated on 2026-08-14

This commit is contained in:
Tangem 2018-11-07 18:07:44 +03:00
parent c434e9ce1a
commit a5fc35bc25
2 changed files with 5 additions and 2 deletions

View file

@ -10,5 +10,8 @@ data class InfuraResponse(
var id: Int? = null,
@SerializedName("result")
var result: String = ""
var result: String = "",
@SerializedName("error")
var error: String = ""
)

View file

@ -83,7 +83,7 @@ class SendTransactionActivity : AppCompatActivity(), NfcAdapter.ReaderCallback {
try {
//infuraResponse.result - it's HashTX
if (infuraResponse.result.isEmpty()) {
finishWithError("rejected by server")
finishWithError("Rejected by server: " + infuraResponse.error)
}
val nonce = (ctx.coinData!! as EthData).confirmedTXCount