@@ -277,7 +277,7 @@ func (l *Lookup) WithGasMeter(meter MockGasMeter) *Lookup {
277277 }
278278}
279279
280- // Get wraps the underlying DB's Get method panicing on error.
280+ // Get wraps the underlying DB's Get method panicking on error.
281281func (l Lookup ) Get (key []byte ) []byte {
282282 l .meter .ConsumeGas (GetPrice , "get" )
283283 v , err := l .db .Get (key )
@@ -288,23 +288,23 @@ func (l Lookup) Get(key []byte) []byte {
288288 return v
289289}
290290
291- // Set wraps the underlying DB's Set method panicing on error.
291+ // Set wraps the underlying DB's Set method panicking on error.
292292func (l Lookup ) Set (key , value []byte ) {
293293 l .meter .ConsumeGas (SetPrice , "set" )
294294 if err := l .db .Set (key , value ); err != nil {
295295 panic (err )
296296 }
297297}
298298
299- // Delete wraps the underlying DB's Delete method panicing on error.
299+ // Delete wraps the underlying DB's Delete method panicking on error.
300300func (l Lookup ) Delete (key []byte ) {
301301 l .meter .ConsumeGas (RemovePrice , "remove" )
302302 if err := l .db .Delete (key ); err != nil {
303303 panic (err )
304304 }
305305}
306306
307- // Iterator wraps the underlying DB's Iterator method panicing on error.
307+ // Iterator wraps the underlying DB's Iterator method panicking on error.
308308func (l Lookup ) Iterator (start , end []byte ) types.Iterator {
309309 l .meter .ConsumeGas (RangePrice , "range" )
310310 iter , err := l .db .Iterator (start , end )
@@ -315,7 +315,7 @@ func (l Lookup) Iterator(start, end []byte) types.Iterator {
315315 return iter
316316}
317317
318- // ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
318+ // ReverseIterator wraps the underlying DB's ReverseIterator method panicking on error.
319319func (l Lookup ) ReverseIterator (start , end []byte ) types.Iterator {
320320 l .meter .ConsumeGas (RangePrice , "range" )
321321 iter , err := l .db .ReverseIterator (start , end )
0 commit comments