(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 { Record } from 'immutable'
|
||||||
import type { RecordFactory, RecordOf } 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 = {
|
export type IncomingTransactionProps = {
|
||||||
blockNumber: number,
|
blockNumber: number,
|
||||||
|
@ -53,7 +53,7 @@ export const makeIncomingTransaction: RecordFactory<IncomingTransactionProps> =
|
||||||
decimals: 18,
|
decimals: 18,
|
||||||
fee: '',
|
fee: '',
|
||||||
executionDate: '',
|
executionDate: '',
|
||||||
type: INCOMING_TX_TYPES,
|
type: 'INCOMING',
|
||||||
status: 'success',
|
status: 'success',
|
||||||
nonce: null,
|
nonce: null,
|
||||||
confirmations: null,
|
confirmations: null,
|
||||||
|
|
Loading…
Reference in New Issue