Skip to content

Commit

Permalink
imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthpun committed Jan 4, 2024
1 parent 7d16dd2 commit e3d85e8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions internal/accounts/fund.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"time"

flowsdk "github.com/onflow/flow-go-sdk"

"github.com/pkg/browser"
"github.com/spf13/cobra"

Expand All @@ -49,11 +50,11 @@ var fundCommand = &command.Command{
}

func fund(
args []string,
_ command.GlobalFlags,
logger output.Logger,
_ flowkit.ReaderWriter,
flow flowkit.Services,
args []string,
_ command.GlobalFlags,
logger output.Logger,
_ flowkit.ReaderWriter,
flow flowkit.Services,
) (command.Result, error) {
address := flowsdk.HexToAddress(args[0])
if !address.IsValid(flowsdk.Testnet) {
Expand All @@ -63,7 +64,7 @@ func fund(
logger.Info(
fmt.Sprintf(
"Opening the Testnet faucet to fund 0x%s on your native browser."+
"\n\nIf there is an issue, please use this link instead: %s",
"\n\nIf there is an issue, please use this link instead: %s",
address.String(),
testnetFaucetURL(address),
))
Expand Down

0 comments on commit e3d85e8

Please sign in to comment.