Skip to content

Commit

Permalink
Fixing lint errors for AddPendingAdmin on EL Writer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Chatham committed Dec 17, 2024
1 parent 549e018 commit 7aa2a64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chainio/clients/elcontracts/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,9 @@ func (w *ChainWriter) NewAddPendingAdminTx(

func (w *ChainWriter) AddPendingAdmin(ctx context.Context, request AddPendingAdminRequest) (*gethtypes.Receipt, error) {
txOpts, err := w.txMgr.GetNoSendTxOpts()
if err != nil {
return nil, utils.WrapError("failed to get no send tx opts", err)
}
tx, err := w.NewAddPendingAdminTx(txOpts, request)
if err != nil {
return nil, utils.WrapError("failed to create AddPendingAdminTx", err)
Expand Down

0 comments on commit 7aa2a64

Please sign in to comment.