wallet: can_sign should return False for a swap claim tx, because it is handled by txbatcher
This commit is contained in:
@@ -2591,8 +2591,6 @@ class Abstract_Wallet(ABC, Logger, EventListener):
|
|||||||
for k in self.get_keystores():
|
for k in self.get_keystores():
|
||||||
if k.can_sign_txin(txin):
|
if k.can_sign_txin(txin):
|
||||||
return True
|
return True
|
||||||
if self.get_swaps_by_claim_tx(tx):
|
|
||||||
return True
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def add_output_info(self, txout: PartialTxOutput, *, only_der_suffix: bool = False) -> None:
|
def add_output_info(self, txout: PartialTxOutput, *, only_der_suffix: bool = False) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user