Skip to content

Commit 9566cdb

Browse files
committed
chore(op): remove lib shadow
1 parent fe9cdfe commit 9566cdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rolling-shutter/keyperimpl/optimism/keyper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (kpr *Keyper) newKeyperSet(ctx context.Context, ev *shopevent.KeyperSet) er
115115
Uint64("eon", ev.Eon).
116116
Msg("new keyper set added")
117117
return kpr.dbpool.BeginFunc(ctx, func(tx pgx.Tx) error {
118-
db := obskeyper.New(tx)
118+
obskeyperdb := obskeyper.New(tx)
119119

120120
keyperConfigIndex, err := medley.Uint64ToInt64Safe(ev.Eon)
121121
if err != nil {
@@ -130,7 +130,7 @@ func (kpr *Keyper) newKeyperSet(ctx context.Context, ev *shopevent.KeyperSet) er
130130
return errors.Wrap(err, ErrParseKeyperSet.Error())
131131
}
132132
// XXX: does this work when the memberset is empty?
133-
return db.InsertKeyperSet(ctx, obskeyper.InsertKeyperSetParams{
133+
return obskeyperdb.InsertKeyperSet(ctx, obskeyper.InsertKeyperSetParams{
134134
KeyperConfigIndex: keyperConfigIndex,
135135
ActivationBlockNumber: activationBlockNumber,
136136
Keypers: shdb.EncodeAddresses(ev.Members),

0 commit comments

Comments
 (0)