(Fix) set `INCOMING` as the default `type` for incoming txs (#722)

This commit is contained in:
Fernando 2020-04-02 11:43:20 -03:00 committed by GitHub
parent 04333ea127
commit 13b0874319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,