From aa9526f0e2261e3fec56bb43363b3a1b81900a3a Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Fri, 27 Jun 2025 17:27:12 +0300 Subject: [PATCH] Update cw_ethereum/lib/deuro/deuro_savings.dart Co-authored-by: Konstantin Ullrich --- cw_ethereum/lib/deuro/deuro_savings.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_ethereum/lib/deuro/deuro_savings.dart b/cw_ethereum/lib/deuro/deuro_savings.dart index fc4e1a603..bce05905c 100644 --- a/cw_ethereum/lib/deuro/deuro_savings.dart +++ b/cw_ethereum/lib/deuro/deuro_savings.dart @@ -83,7 +83,7 @@ class DEuro { contractAddress: _savingsGateway.self.address.hexEip55, receivingAddressHex: _savingsGateway.self.address.hexEip55, priority: priority, - data: _savingsGateway.self.abi.functions[17].encodeCall([amount, frontendCode]), + data: _savingsGateway.self.abi.functions[17].encodeCall([amount, hexToBytes(frontendCode)]), ); final sendTransaction = () => _wallet.getWeb3Client()!.sendRawTransaction(signedTransaction);