Skip to content

Commit 30c9adc

Browse files
committed
Fix: rename VOUCHER_SENDER to VOUCHER_ORIGIN_ADDRESS
1 parent 1dc038e commit 30c9adc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/aleph/sdk/client/services/voucher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def _fetch_voucher_update(self):
2828
"""
2929

3030
post_filter = PostFilter(
31-
types=["vouchers-update"], addresses=[settings.VOUCHER_SENDER]
31+
types=["vouchers-update"], addresses=[settings.VOUCHER_ORIGIN_ADDRESS]
3232
)
3333
vouchers_post: PostsResponse = await self._client.get_posts(
3434
post_filter=post_filter, page_size=1

src/aleph/sdk/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Settings(BaseSettings):
9696
"https://claim.twentysix.cloud/sbt/metadata/{}.json"
9797
)
9898
VOUCHER_SOL_REGISTRY: str = "https://api.claim.twentysix.cloud/v1/registry/sol"
99-
VOUCHER_SENDER: str = "0xB34f25f2c935bCA437C061547eA12851d719dEFb"
99+
VOUCHER_ORIGIN_ADDRESS: str = "0xB34f25f2c935bCA437C061547eA12851d719dEFb"
100100

101101
# Web3Provider settings
102102
TOKEN_DECIMALS: ClassVar[int] = 18

0 commit comments

Comments
 (0)