Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ export interface EdgeCurrencyInfo {
canImportKeys?: boolean // Defaults to false
canReplaceByFee?: boolean // Defaults to false
customFeeTemplate?: EdgeObjectTemplate // Indicates custom fee support
customTokenTemplate?: EdgeObjectTemplate // Indicates custom token support
customTokenTemplate?: EdgeObjectTemplate // An empty array indicates token support. A filled array indicates custom token support.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this. It's too subtle, and makes the code hard to understand. Let's add an explicit hasTokens?: boolean instead, and leave customTokenTemplate just for custom token support.

requiredConfirmations?: number // Block confirmations required for a tx

/** EVM chain id */
Expand Down