From 35880c1b894b830e9ad9da474d485eb5c835d0ff Mon Sep 17 00:00:00 2001 From: JoranHonig Date: Fri, 24 Jan 2020 16:47:34 +0100 Subject: [PATCH] use self reference rather than super This change aligns the use of seek with the use in pop_frame Additionally, inheritants can now override the behaviour of the seek call in seek_in_frame(...) --- eth_abi/decoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth_abi/decoding.py b/eth_abi/decoding.py index 553f58e3..f706a94a 100644 --- a/eth_abi/decoding.py +++ b/eth_abi/decoding.py @@ -81,7 +81,7 @@ def seek_in_frame(self, pos, *args, **kwargs): """ Seeks relative to the total offset of the current contextual frames. """ - super().seek(self._total_offset + pos, *args, **kwargs) + self.seek(self._total_offset + pos, *args, **kwargs) def push_frame(self, offset): """