Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
comountainclimber committed Aug 23, 2021
1 parent 6fe5d5a commit 9e76a3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ export default class CreateMigrationWallet extends React.Component<
<div>
<h3> Create your N3 wallet</h3>
<p>
Let's get started by creating your new N3 wallet. Your private key will remain the same, but the derived address will be new!
All you have to do is give your N3 wallet a name and password. We'll take care of the rest!
Let's get started by creating your new N3 wallet. Your private key
will remain the same, but the derived address will be new! All you
have to do is give your N3 wallet a name and password. We'll take
care of the rest!
</p>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions app/components/Migration/Explanation/Explanation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export default function Explanation({
</div>

<p>
Neon Wallet will format and relay your migration transaction to a utility
which will mint N3 NEO and GAS to your new N3 address. You can return to
the migration tab at any time to view the migration status for your address
or to relay new migration transactions.
Neon Wallet will format and relay your migration transaction to a
utility which will mint N3 NEO and GAS to your new N3 address. You can
return to the migration tab at any time to view the migration status for
your address or to relay new migration transactions.
</p>
</div>
)
Expand Down
6 changes: 3 additions & 3 deletions app/components/Migration/TokenSwap/TokenSwap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export default class TokenSwap extends React.Component<Props, State> {
<div>
<h3> Select a token to migrate</h3>
<p>
You can migrate using multiple transactions in Neon Wallet so don't
feel obligated to migrate all of your assets in a single event if you
aren't comfortable doing so.
You can migrate using multiple transactions in Neon Wallet so
don't feel obligated to migrate all of your assets in a single
event if you aren't comfortable doing so.
</p>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions app/modules/transactions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @flow
/* eslint-disable camelcase */
import { api, sc, u, wallet, settings } from '@cityofzion/neon-js'
import {
api as n3Api,
Expand All @@ -8,7 +7,6 @@ import {
rpc as n3Rpc,
tx,
} from '@cityofzion/neon-js-next'
// import N2 from '@cityofzion/neon-js-legacy-latest'
import { flatMap, keyBy, isEmpty, get } from 'lodash-es'
import axios from 'axios'

Expand All @@ -32,7 +30,7 @@ import {
validateTransactionsBeforeSending,
getTokenBalancesMap,
} from '../core/wallet'
import { toBigNumber, toNumber } from '../core/math'
import { toNumber } from '../core/math'
import { getNode, getRPCEndpoint } from '../actions/nodeStorageActions'
import { addPendingTransaction } from '../actions/pendingTransactionActions'

Expand Down Expand Up @@ -247,7 +245,6 @@ export const calculateN3Fees = ({
{ account: FROM_ACCOUNT },
)

debugger
const txBuilder = new n3Api.TransactionBuilder()
for (const intent of intents) {
if (intent.decimalAmt) {
Expand Down

0 comments on commit 9e76a3c

Please sign in to comment.