diff --git a/jmclient/jmclient/taker.py b/jmclient/jmclient/taker.py index bdd8e6e..ccdf046 100644 --- a/jmclient/jmclient/taker.py +++ b/jmclient/jmclient/taker.py @@ -506,7 +506,8 @@ class Taker(object): self.utxo_tx = [u for u in sum(self.utxos.values(), [])] self.outputs.append({'address': self.coinjoin_address(), 'value': self.cjamount}) - self.latest_tx = btc.make_shuffled_tx(self.utxo_tx, self.outputs) + self.latest_tx = btc.make_shuffled_tx(self.utxo_tx, self.outputs, + version=2, locktime=compute_tx_locktime()) jlog.info('obtained tx\n' + btc.human_readable_transaction( self.latest_tx)) diff --git a/jmclient/jmclient/wallet.py b/jmclient/jmclient/wallet.py index 17640eb..f011601 100644 --- a/jmclient/jmclient/wallet.py +++ b/jmclient/jmclient/wallet.py @@ -1366,7 +1366,7 @@ class SNICKERWalletMixin(object): # version and locktime as currently specified in the BIP # for 0/1 version SNICKER. tx = btc.make_shuffled_tx([our_input, their_input], outputs, - version=2, locktime=0) + version=2, locktime=compute_tx_locktime()) # we need to know which randomized input is ours: our_index = -1 for i, inp in enumerate(tx.vin):