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") }