(Fix) set `INCOMING` as the default `type` for incoming txs (#722)
This commit is contained in:
parent
04333ea127
commit
13b0874319
|
@ -2,7 +2,7 @@
|
|||
import { Record } from 'immutable'
|
||||
import type { RecordFactory, RecordOf } from 'immutable'
|
||||
|
||||
export const INCOMING_TX_TYPES = ['ERC721_TRANSFER', 'ERC20_TRANSFER', 'ETHER_TRANSFER']
|
||||
export const INCOMING_TX_TYPES = ['INCOMING', 'ERC721_TRANSFER', 'ERC20_TRANSFER', 'ETHER_TRANSFER']
|
||||
|
||||
export type IncomingTransactionProps = {
|
||||
blockNumber: number,
|
||||
|
@ -53,7 +53,7 @@ export const makeIncomingTransaction: RecordFactory<IncomingTransactionProps> =
|
|||
decimals: 18,
|
||||
fee: '',
|
||||
executionDate: '',
|
||||
type: INCOMING_TX_TYPES,
|
||||
type: 'INCOMING',
|
||||
status: 'success',
|
||||
nonce: null,
|
||||
confirmations: null,
|
||||
|
|
Loading…
Reference in New Issue