Skip to content

Commit

Permalink
fix: generated explorer URL for faucet command
Browse files Browse the repository at this point in the history
  • Loading branch information
rswol authored and reedrosenbluth committed Jul 26, 2021
1 parent 3e4c197 commit 38540a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ function faucetCall(_: CLINetworkAdapter, args: string[]): Promise<string> {
.then((faucetTx: any) => {
return JSONStringify({
txid: faucetTx.txId!,
transaction: generateExplorerTxPageUrl(faucetTx.txId!, new StacksTestnet()),
transaction: generateExplorerTxPageUrl(faucetTx.txId!.replace(/^0x/, ''), new StacksTestnet()),
});
})
.catch((error: any) => error.toString());
Expand Down

1 comment on commit 38540a9

@vercel
Copy link

@vercel vercel bot commented on 38540a9 Jul 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.