Skip to content

Commit cc1d7e4

Browse files
author
shankar
committed
chore: improve logs
Signed-off-by: shankar <shankar@layerzero.org>
1 parent cc5081c commit cc1d7e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/hyperliquid-composer/src/commands/spot-deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function createSpotDeployment(args: CreateSpotDeploymentArgs): Prom
9797
const tokenIndex: number = parseInt(args.tokenIndex)
9898
const spotIndex: number | undefined = args.spotIndex ? parseInt(args.spotIndex) : undefined
9999

100-
if (spotIndex) {
100+
if (spotIndex !== undefined) {
101101
logger.info(`Finalizing spot ${spotIndex} for token ${tokenIndex}`)
102102
} else {
103103
logger.info(`Setting no hyperliquidity for token ${tokenIndex}`)

0 commit comments

Comments
 (0)