Skip to content

Commit

Permalink
GREEN-25 add run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tonititi committed Apr 12, 2024
1 parent b03c305 commit d4221c2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ export type DetailedTxStatus = {
from: string
injected: boolean
accepted:
| TxStatusCode.BAD_TX
| TxStatusCode.SUCCESS
| TxStatusCode.BUSY
| TxStatusCode.OTHER_FAILURE
| boolean
| TxStatusCode.BAD_TX
| TxStatusCode.SUCCESS
| TxStatusCode.BUSY
| TxStatusCode.OTHER_FAILURE
| boolean
reason: string
timestamp: string
nodeUrl?: string
Expand Down Expand Up @@ -172,16 +172,16 @@ type Tx = readableTransaction & {

type TxParam =
| {
readableReceipt: Tx
txHash?: string
transactionType?: string | number
}
| {
wrappedEVMAccount: {
readableReceipt: Tx
txHash: string
txHash?: string
transactionType?: string | number
}
| {
wrappedEVMAccount: {
readableReceipt: Tx
txHash: string
}
}
}

function extractTransactionObject(
bigTransaction: TxParam,
Expand Down Expand Up @@ -2707,7 +2707,7 @@ export const methods = {
countFailedResponse(api_name, 'Invalid address')
return
}
// Add validate topics
// Add validate topics
if (!checkValidHexTopics(topics)) {
logEventEmitter.emit('fn_end', ticket, { success: false }, performance.now())
callback({ code: -32000, message: 'Invalid topics' }, null)
Expand Down

0 comments on commit d4221c2

Please sign in to comment.