From 9abea6cf10b3ccf2e50b827c49017901d9c57dae Mon Sep 17 00:00:00 2001 From: nicolasito1411 <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Thu, 18 Jul 2024 12:37:24 +0200 Subject: [PATCH] fix: paymaster contract addresses format --- src/endpoints/campaigns/get_free_domain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endpoints/campaigns/get_free_domain.rs b/src/endpoints/campaigns/get_free_domain.rs index 14319de..4a10920 100644 --- a/src/endpoints/campaigns/get_free_domain.rs +++ b/src/endpoints/campaigns/get_free_domain.rs @@ -131,11 +131,11 @@ pub async fn handler( "freeTx": 1, "whitelistedCalls": [ { - "contractAddress": starknet_id_contract, + "contractAddress": to_hex(starknet_id_contract), "entrypoint": "*" }, { - "contractAddress": free_domain_contract, + "contractAddress": to_hex(free_domain_contract), "entrypoint": "*" } ]