From 957722ba7320c3db3034874b54acc17f967d5925 Mon Sep 17 00:00:00 2001 From: Anton <43762166+smypmsa@users.noreply.github.com> Date: Wed, 14 May 2025 17:33:17 +0200 Subject: [PATCH] Update learning-examples/decode_from_getAccountInfo.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- learning-examples/decode_from_getAccountInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning-examples/decode_from_getAccountInfo.py b/learning-examples/decode_from_getAccountInfo.py index c3dc5d0..6eba8c0 100644 --- a/learning-examples/decode_from_getAccountInfo.py +++ b/learning-examples/decode_from_getAccountInfo.py @@ -42,7 +42,7 @@ class BondingCurveState: self.__dict__.update(parsed) else: - parsed = self._STRUCT_1.parse(data[8:]) + parsed = self._STRUCT_2.parse(data[8:]) self.__dict__.update(parsed) # Convert raw bytes to Pubkey for creator field if hasattr(self, 'creator') and isinstance(self.creator, bytes):