rune_swap_tx_parms: add synth, trade, secured dfl fields
This commit is contained in:
parent
f9da0f3db7
commit
2ad20df8ad
1 changed files with 8 additions and 2 deletions
|
|
@ -78,10 +78,13 @@ swap_tx_parms = namedtuple(
|
|||
'account_number',
|
||||
'sequence',
|
||||
'memo',
|
||||
'pubkey', # begin default fields
|
||||
'synth', # begin default fields
|
||||
'trade',
|
||||
'secured',
|
||||
'pubkey',
|
||||
'wifkey',
|
||||
'signature'],
|
||||
defaults = (None, None, None))
|
||||
defaults = (None, None, None, None, None, None))
|
||||
|
||||
@dataclass
|
||||
class Asset(BaseMessage):
|
||||
|
|
@ -200,6 +203,9 @@ def build_swap_tx(cfg, proto, parms, *, skip_body_memo=False):
|
|||
account_number = p.account_number,
|
||||
sequence = p.sequence,
|
||||
decimals = 8,
|
||||
synth = p.synth,
|
||||
trade = p.trade,
|
||||
secured = p.secured,
|
||||
memo = p.memo,
|
||||
pubkey = p.pubkey,
|
||||
wifkey = p.wifkey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue