@@ -277,7 +277,7 @@ func (l *Lookup) WithGasMeter(meter MockGasMeter) *Lookup {
277
277
}
278
278
}
279
279
280
- // Get wraps the underlying DB's Get method panicing on error.
280
+ // Get wraps the underlying DB's Get method panicking on error.
281
281
func (l Lookup ) Get (key []byte ) []byte {
282
282
l .meter .ConsumeGas (GetPrice , "get" )
283
283
v , err := l .db .Get (key )
@@ -288,23 +288,23 @@ func (l Lookup) Get(key []byte) []byte {
288
288
return v
289
289
}
290
290
291
- // Set wraps the underlying DB's Set method panicing on error.
291
+ // Set wraps the underlying DB's Set method panicking on error.
292
292
func (l Lookup ) Set (key , value []byte ) {
293
293
l .meter .ConsumeGas (SetPrice , "set" )
294
294
if err := l .db .Set (key , value ); err != nil {
295
295
panic (err )
296
296
}
297
297
}
298
298
299
- // Delete wraps the underlying DB's Delete method panicing on error.
299
+ // Delete wraps the underlying DB's Delete method panicking on error.
300
300
func (l Lookup ) Delete (key []byte ) {
301
301
l .meter .ConsumeGas (RemovePrice , "remove" )
302
302
if err := l .db .Delete (key ); err != nil {
303
303
panic (err )
304
304
}
305
305
}
306
306
307
- // Iterator wraps the underlying DB's Iterator method panicing on error.
307
+ // Iterator wraps the underlying DB's Iterator method panicking on error.
308
308
func (l Lookup ) Iterator (start , end []byte ) types.Iterator {
309
309
l .meter .ConsumeGas (RangePrice , "range" )
310
310
iter , err := l .db .Iterator (start , end )
@@ -315,7 +315,7 @@ func (l Lookup) Iterator(start, end []byte) types.Iterator {
315
315
return iter
316
316
}
317
317
318
- // ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
318
+ // ReverseIterator wraps the underlying DB's ReverseIterator method panicking on error.
319
319
func (l Lookup ) ReverseIterator (start , end []byte ) types.Iterator {
320
320
l .meter .ConsumeGas (RangePrice , "range" )
321
321
iter , err := l .db .ReverseIterator (start , end )
0 commit comments