Correct constructor args method name

This commit is contained in:
lash 2023-02-14 06:39:33 +00:00
parent 15b6b4fa46
commit 273cf23f21
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -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)