ThomasV 4 years ago
parent
commit
2c39f0c9c4
  1. 14
      electrum/plugins/trustedcoin/trustedcoin.py

14
electrum/plugins/trustedcoin/trustedcoin.py

@ -315,11 +315,17 @@ class Wallet_2fa(Multisig_Wallet):
raise Exception('too high trustedcoin fee ({} for {} txns)'.format(price, n)) raise Exception('too high trustedcoin fee ({} for {} txns)'.format(price, n))
return price return price
def make_unsigned_transaction(self, *, coins: Sequence[PartialTxInput], def make_unsigned_transaction(
outputs: List[PartialTxOutput], fee=None, self, *,
change_addr: str = None, is_sweep=False) -> PartialTransaction: coins: Sequence[PartialTxInput],
outputs: List[PartialTxOutput],
fee=None,
change_addr: str = None,
is_sweep=False,
rbf=False) -> PartialTransaction:
mk_tx = lambda o: Multisig_Wallet.make_unsigned_transaction( mk_tx = lambda o: Multisig_Wallet.make_unsigned_transaction(
self, coins=coins, outputs=o, fee=fee, change_addr=change_addr) self, coins=coins, outputs=o, fee=fee, change_addr=change_addr, rbf=rbf)
extra_fee = self.extra_fee() if not is_sweep else 0 extra_fee = self.extra_fee() if not is_sweep else 0
if extra_fee: if extra_fee:
address = self.billing_info['billing_address_segwit'] address = self.billing_info['billing_address_segwit']

Loading…
Cancel
Save