fix #7190
This commit is contained in:
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user