From 273cf23f2111829232b8e66884893fa2f5273e74 Mon Sep 17 00:00:00 2001 From: lash Date: Tue, 14 Feb 2023 06:39:33 +0000 Subject: [PATCH] Correct constructor args method name --- python/giftable_erc20_token/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/giftable_erc20_token/factory.py b/python/giftable_erc20_token/factory.py index f216614..fb9d151 100644 --- a/python/giftable_erc20_token/factory.py +++ b/python/giftable_erc20_token/factory.py @@ -25,7 +25,7 @@ class GiftableToken(TxFactory): __bytecode = None def constructor(self, sender_address, name, symbol, decimals, tx_format=TxFormat.JSONRPC, version=None): - code = constructor_arg(name, symbol, decimals) + code = self.cargs(name, symbol, decimals) tx = self.template(sender_address, None, use_nonce=True) tx = self.set_code(tx, code) return self.finalize(tx, tx_format)