From 00216972bf3fed8edb32fd3a5add02b7bfe8ac69 Mon Sep 17 00:00:00 2001 From: Zhang ShengYan Date: Sun, 8 Jun 2025 19:53:30 +0800 Subject: [PATCH] fix:use STRUCT_2 to parse creator --- .../bonding-curve-progress/get_bonding_curve_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning-examples/bonding-curve-progress/get_bonding_curve_status.py b/learning-examples/bonding-curve-progress/get_bonding_curve_status.py index 587c3c1..88bba40 100644 --- a/learning-examples/bonding-curve-progress/get_bonding_curve_status.py +++ b/learning-examples/bonding-curve-progress/get_bonding_curve_status.py @@ -71,7 +71,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):