Skip to content

Commit e00588f

Browse files
committed
apply prettier
1 parent 0c1277d commit e00588f

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

cli/src/commands/manual.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { options } from "./shared";
2121
import { pullChainConfig } from "../index";
2222
import { validatePayerOption } from "../validation";
2323

24-
const isUniversalHex = (address: string): boolean => /^(0x)?[0-9a-fA-F]{64}$/.test(address);
24+
const isUniversalHex = (address: string): boolean =>
25+
/^(0x)?[0-9a-fA-F]{64}$/.test(address);
2526

2627
export function createManualCommand(
2728
overrides: WormholeConfigOverrides<Network>

cli/src/commands/xrpl/transfer.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,14 @@ export function createXrplTransferCommand(
163163
type: "string",
164164
})
165165
.option("currency", { describe: "IOU currency [IOU]", type: "string" })
166-
.option("issuer", { describe: "IOU issuer r-address [IOU]", type: "string" })
167-
.option("mpt-id", { describe: "MPT issuance id, 48-hex [MPT]", type: "string" })
166+
.option("issuer", {
167+
describe: "IOU issuer r-address [IOU]",
168+
type: "string",
169+
})
170+
.option("mpt-id", {
171+
describe: "MPT issuance id, 48-hex [MPT]",
172+
type: "string",
173+
})
168174
.option("seed", {
169175
describe: "XRPL seed of the sending wallet (or env SEED)",
170176
type: "string",
@@ -239,7 +245,12 @@ export async function runTransfer(
239245
const memoFormat = Buffer.from(NTT_TRANSFER_MEMO_FORMAT, "ascii")
240246
.toString("hex")
241247
.toUpperCase();
242-
const paymentAmount = buildAmount({ currency, issuer, mptIssuanceId, amount });
248+
const paymentAmount = buildAmount({
249+
currency,
250+
issuer,
251+
mptIssuanceId,
252+
amount,
253+
});
243254

244255
const tokenLabel = isMpt ? "MPT" : isIou ? currency : "XRP";
245256
console.log(colors.blue("💸 XRPL NTT transfer"));

0 commit comments

Comments
 (0)