mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-12-21 23:17:33 +01:00
Correct constructor args method name
This commit is contained in:
parent
15b6b4fa46
commit
273cf23f21
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user