Skip to content

Commit d409df2

Browse files
committed
fix: use correct field names to extract BTL info from receipt
1 parent ef1dbde commit d409df2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

golem_base_sdk/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ async def _process_golem_base_log_receipt(
427427
case "GolemBaseStorageEntityBTLExtended":
428428
extensions.append(
429429
ExtendEntityReturnType(
430-
old_expiration_block=event_data["args"]["old_expirationBlock"],
431-
new_expiration_block=event_data["args"]["new_expirationBlock"],
430+
old_expiration_block=event_data["args"]["oldExpirationBlock"],
431+
new_expiration_block=event_data["args"]["newExpirationBlock"],
432432
entity_key=EntityKey(
433433
GenericBytes(
434434
event_data["args"]["entityKey"].to_bytes(32, "big")

0 commit comments

Comments
 (0)