Updated on 2026-08-14
This commit is contained in:
parent
c434e9ce1a
commit
a5fc35bc25
2 changed files with 5 additions and 2 deletions
|
|
@ -10,5 +10,8 @@ data class InfuraResponse(
|
|||
var id: Int? = null,
|
||||
|
||||
@SerializedName("result")
|
||||
var result: String = ""
|
||||
var result: String = "",
|
||||
|
||||
@SerializedName("error")
|
||||
var error: String = ""
|
||||
)
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue