mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Fix PIVX.
This commit is contained in:
@@ -4668,7 +4668,7 @@ class BasicSwap(BaseApp):
|
||||
+ (len(txn_script)).to_bytes(1, "big")
|
||||
+ txn_script
|
||||
)
|
||||
refund_txn = ci.setTxScriptSig(bytes.fromhex(refund_txn), 0, script)
|
||||
refund_txn = ci.setTxScriptSig(bytes.fromhex(refund_txn), 0, script).hex()
|
||||
|
||||
if coin_type in (Coins.NAV, Coins.DCR):
|
||||
# Only checks signature
|
||||
|
||||
@@ -34,9 +34,6 @@ class PIVXInterface(BTCInterface):
|
||||
self._rpcport, self._rpcauth, host=self._rpc_host
|
||||
)
|
||||
|
||||
def checkWallets(self) -> int:
|
||||
return 1
|
||||
|
||||
def signTxWithWallet(self, tx):
|
||||
rv = self.rpc("signrawtransaction", [tx.hex()])
|
||||
return bytes.fromhex(rv["hex"])
|
||||
|
||||
Reference in New Issue
Block a user