Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
style: indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itofarina committed Mar 22, 2021
1 parent 0caacec commit 705fd84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/wallet/btccoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class Coin {
this.path = `m/44'/${this.coinType}'/${this.account}'/0/0`;
}

deriveSegwit= (root, network) => {
deriveSegwit = (root, network) => {
const path = `m/84'/${this.coinType}'/${this.account}'/0/0`;
const keyPair = root.derivePath(path);
const { address } = payments.p2wpkh({ pubkey: keyPair.publicKey, network });
Expand Down Expand Up @@ -119,9 +119,9 @@ export default class Coin {
address, chain, type, symbol,
} = this;
return address === json.address
&& chain === json.chain
&& type === json.type
&& symbol === json.symbol;
&& chain === json.chain
&& type === json.type
&& symbol === json.symbol;
}

/**
Expand Down

0 comments on commit 705fd84

Please sign in to comment.