Add raw args option for tx factory
This commit is contained in:
parent
14ccb8d375
commit
dee523bada
@ -419,6 +419,8 @@ class TxFactory:
|
||||
return self.build(tx, id_generator=id_generator)
|
||||
elif tx_format == TxFormat.RLP_SIGNED:
|
||||
return self.build_raw(tx)
|
||||
elif tx_format == TxFormat.RAW_ARGS:
|
||||
return tx['data']
|
||||
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user