Skip to content

Commit e5af46a

Browse files
committed
chore: linter
1 parent 19ea76a commit e5af46a

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

src/new/wallet.js

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,10 @@ class HathorWallet extends EventEmitter {
18101810

18111811
const mintAddress = newOptions.address || (await this.getCurrentAddress()).address;
18121812

1813-
const mintInput = await this.getMintAuthority(tokenUid, { many: false, only_available_utxos: true });
1813+
const mintInput = await this.getMintAuthority(tokenUid, {
1814+
many: false,
1815+
only_available_utxos: true,
1816+
});
18141817

18151818
if (!mintInput || mintInput.length === 0) {
18161819
throw new Error("Don't have mint authority output available.");
@@ -1922,7 +1925,10 @@ class HathorWallet extends EventEmitter {
19221925
}
19231926
}
19241927

1925-
const meltInput = await this.getMeltAuthority(tokenUid, { many: false, only_available_utxos: true });
1928+
const meltInput = await this.getMeltAuthority(tokenUid, {
1929+
many: false,
1930+
only_available_utxos: true,
1931+
});
19261932

19271933
if (!meltInput || meltInput.length === 0) {
19281934
throw new Error("Don't have melt authority output available.");
@@ -2008,9 +2014,15 @@ class HathorWallet extends EventEmitter {
20082014
const { createAnother } = newOptions;
20092015
let delegateInput;
20102016
if (type === 'mint') {
2011-
delegateInput = await this.getMintAuthority(tokenUid, { many: false, only_available_utxos: true });
2017+
delegateInput = await this.getMintAuthority(tokenUid, {
2018+
many: false,
2019+
only_available_utxos: true,
2020+
});
20122021
} else if (type === 'melt') {
2013-
delegateInput = await this.getMeltAuthority(tokenUid, { many: false, only_available_utxos: true });
2022+
delegateInput = await this.getMeltAuthority(tokenUid, {
2023+
many: false,
2024+
only_available_utxos: true,
2025+
});
20142026
} else {
20152027
throw new Error('This should never happen.');
20162028
}
@@ -2083,9 +2095,15 @@ class HathorWallet extends EventEmitter {
20832095
}
20842096
let destroyInputs;
20852097
if (type === 'mint') {
2086-
destroyInputs = await this.getMintAuthority(tokenUid, { many: true, only_available_utxos: true });
2098+
destroyInputs = await this.getMintAuthority(tokenUid, {
2099+
many: true,
2100+
only_available_utxos: true,
2101+
});
20872102
} else if (type === 'melt') {
2088-
destroyInputs = await this.getMeltAuthority(tokenUid, { many: true, only_available_utxos: true });
2103+
destroyInputs = await this.getMeltAuthority(tokenUid, {
2104+
many: true,
2105+
only_available_utxos: true,
2106+
});
20892107
} else {
20902108
throw new Error('This should never happen.');
20912109
}

0 commit comments

Comments
 (0)