diff --git a/stader/api/node/commands.go b/stader/api/node/commands.go index 55a520a3d..845235879 100644 --- a/stader/api/node/commands.go +++ b/stader/api/node/commands.go @@ -301,7 +301,7 @@ func RegisterSubcommands(command *cli.Command, name string, aliases []string) { return err } // Run - api.PrintResponse(getDepositSdApprovalGas(c, amountWei, contractAddress)) + api.PrintResponse(getSdApprovalGas(c, amountWei, contractAddress)) return nil }, diff --git a/stader/api/node/deposit-sd.go b/stader/api/node/deposit-sd.go index 5d50de8c6..0ba70afc3 100644 --- a/stader/api/node/deposit-sd.go +++ b/stader/api/node/deposit-sd.go @@ -69,7 +69,7 @@ func canNodeDepositSd(c *cli.Context, amountWei *big.Int) (*api.CanNodeDepositSd } -func getDepositSdApprovalGas(c *cli.Context, amountWei *big.Int, contractAddress common.Address) (*api.SdApproveGasResponse, error) { +func getSdApprovalGas(c *cli.Context, amountWei *big.Int, contractAddress common.Address) (*api.SdApproveGasResponse, error) { // Get services if err := services.RequireNodeWallet(c); err != nil { return nil, err