File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
src/story_protocol_python_sdk/resources Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -404,10 +404,6 @@ def register_group_and_attach_license_and_add_ips(
404404 :return dict: A dictionary with the transaction hash and group ID.
405405 """
406406 try :
407- # Convert addresses to checksum format for consistency
408- group_pool = self .web3 .to_checksum_address (group_pool )
409- ip_ids = [self .web3 .to_checksum_address (ip_id ) for ip_id in ip_ids ]
410-
411407 if not self .web3 .is_address (group_pool ):
412408 raise ValueError (f'Group pool address "{ group_pool } " is invalid.' )
413409
@@ -565,11 +561,6 @@ def claim_rewards(
565561 if not self .web3 .is_address (ip_id ):
566562 raise ValueError (f"Invalid member IP ID: { ip_id } " )
567563
568- # Convert addresses to checksum format for consistency
569- group_ip_id = self .web3 .to_checksum_address (group_ip_id )
570- currency_token = self .web3 .to_checksum_address (currency_token )
571- member_ip_ids = [self .web3 .to_checksum_address (ip_id ) for ip_id in member_ip_ids ]
572-
573564 claim_reward_param = {
574565 "groupIpId" : group_ip_id ,
575566 "token" : currency_token ,
You can’t perform that action at this time.
0 commit comments