From f49e96f7ee7aebea3a9dc1914cbce424e935d0b4 Mon Sep 17 00:00:00 2001 From: Brandon Chatham Date: Wed, 11 Dec 2024 12:46:46 -0800 Subject: [PATCH] Updating based on make fmt results. --- chainio/clients/elcontracts/reader.go | 6 +++++- chainio/clients/elcontracts/writer.go | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/chainio/clients/elcontracts/reader.go b/chainio/clients/elcontracts/reader.go index a88f99d3..7b40269f 100644 --- a/chainio/clients/elcontracts/reader.go +++ b/chainio/clients/elcontracts/reader.go @@ -724,7 +724,11 @@ func (r *ChainReader) IsPendingAdmin( accountAddress gethcommon.Address, pendingAdminAddress gethcommon.Address, ) (bool, error) { - isPendingAdmin, err := r.permissionController.IsPendingAdmin(&bind.CallOpts{Context: ctx}, accountAddress, pendingAdminAddress) + isPendingAdmin, err := r.permissionController.IsPendingAdmin( + &bind.CallOpts{Context: ctx}, + accountAddress, + pendingAdminAddress, + ) if err != nil { return isPendingAdmin, errors.New("call to permission controller failed: " + err.Error()) } diff --git a/chainio/clients/elcontracts/writer.go b/chainio/clients/elcontracts/writer.go index b0a93c2a..afa67352 100644 --- a/chainio/clients/elcontracts/writer.go +++ b/chainio/clients/elcontracts/writer.go @@ -652,7 +652,10 @@ func (w *ChainWriter) RemoveAdmin(ctx context.Context, request RemoveAdminReques return receipt, err } -func (w *ChainWriter) RemovePendingAdmin(ctx context.Context, request RemovePendingAdminRequest) (*gethtypes.Receipt, error) { +func (w *ChainWriter) RemovePendingAdmin( + ctx context.Context, + request RemovePendingAdminRequest, +) (*gethtypes.Receipt, error) { if w.permissionController == nil { return nil, errors.New("permission contract not provided") }