mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-21 17:26:47 +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
|
__bytecode = None
|
||||||
|
|
||||||
def constructor(self, sender_address, name, symbol, decimals, tx_format=TxFormat.JSONRPC, version=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.template(sender_address, None, use_nonce=True)
|
||||||
tx = self.set_code(tx, code)
|
tx = self.set_code(tx, code)
|
||||||
return self.finalize(tx, tx_format)
|
return self.finalize(tx, tx_format)
|
||||||
|
Loading…
Reference in New Issue
Block a user