Formatting
This commit is contained in:
@@ -37,7 +37,9 @@ function formatResource(
|
||||
showReserved = false,
|
||||
): string {
|
||||
// Format the template
|
||||
const template = resource.template ? dim(`[${generateTemplateIdentifier(resource.template)}]`) : "";
|
||||
const template = resource.template
|
||||
? dim(`[${generateTemplateIdentifier(resource.template)}]`)
|
||||
: "";
|
||||
|
||||
// Format the outpoint
|
||||
const outpoint = bold(
|
||||
@@ -51,7 +53,7 @@ function formatResource(
|
||||
const output = resource.outputIdentifier
|
||||
? dim(resource.outputIdentifier)
|
||||
: "";
|
||||
|
||||
|
||||
// Format the height
|
||||
const height = dim(`(height ${resource.minedAtHeight})`);
|
||||
|
||||
@@ -233,7 +235,7 @@ export const handleResourceCommand = async (
|
||||
deps.io.out(
|
||||
`Unreserved ${bold(`${txHash}:${vout}`)} (was reserved for ${target.reservedBy})`,
|
||||
);
|
||||
|
||||
|
||||
// TODO: What do I want to return here?
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user