Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Dec 3, 2024
1 parent 64579ec commit 82f9eb6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/blockchaincmd/add_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func CallAddValidator(
}
}
// convert to nanoAVAX
balance = balance * units.Avax
balance *= units.Avax

if remainingBalanceOwnerAddr == "" {
remainingBalanceOwnerAddr, err = getKeyForChangeOwner(network)
Expand Down
3 changes: 0 additions & 3 deletions pkg/validatormanager/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func ValidatorManagerGetSubnetValidatorRegistrationMessage(
unsignedMessageBytes, err := GetRegistrationMessage(
rpcURL,
validationID,
subnetID,
)
if err != nil {
return nil, ids.Empty, err
Expand Down Expand Up @@ -529,7 +528,6 @@ func FinishValidatorRegistration(
func GetRegistrationMessage(
rpcURL string,
validationID ids.ID,
subnetID ids.ID,
) ([]byte, error) {
client, err := evm.GetClient(rpcURL)
if err != nil {
Expand Down Expand Up @@ -598,7 +596,6 @@ func GetRegistrationJustification(
msg, err := GetRegistrationMessage(
rpcURL,
validationID,
subnetID,
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 82f9eb6

Please sign in to comment.