Skip to content

Commit

Permalink
FIX: prepare ERC20 token information only for mainnet on ledger.
Browse files Browse the repository at this point in the history
  • Loading branch information
qtxie committed Jun 28, 2019
1 parent 50e02b9 commit 94599b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet.red
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ wallet: context [
value: eth/eth-to-wei amount

either token-contract [
if keys/ledger-nano-s? [
if all [keys/ledger-nano-s? net-name = "mainnet"] [
data: eth-tokens/get-erc20-info token-contract
ledger/provide-erc20-info data
]
Expand Down

0 comments on commit 94599b7

Please sign in to comment.