mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-07-27 23:37:45 +00:00
fix:use STRUCT_2 to parse creator
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user