Skip to content

Commit

Permalink
Merge pull request #155 from stader-labs/withdraw-sd-rework
Browse files Browse the repository at this point in the history
Fix some compilation issues
  • Loading branch information
bharath-123 authored Dec 7, 2023
2 parents 23381bf + 3f90e90 commit ab21a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stader/api/node/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

},
Expand Down
2 changes: 1 addition & 1 deletion stader/api/node/deposit-sd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab21a31

Please sign in to comment.