Bump version.

This commit is contained in:
tecnovert
2024-11-14 15:30:09 +02:00
parent f6916f093b
commit 273da833db
5 changed files with 26 additions and 7 deletions

View File

@@ -627,9 +627,11 @@ class BTCInterface(Secp256k1Interface):
tx.vout.append(self.txoType()(locked_coin, self.getScriptForPubkeyHash(pkh_dest)))
if self._altruistic and kbsf:
if self.altruistic() and kbsf:
# Add mercy_keyshare
tx.vout.append(self.txoType()(0, CScript([OP_RETURN, b'XBSW', kbsf])))
else:
self._log.debug('Not attaching mercy output, have kbsf {}.'.format('true' if kbsf else 'false'))
dummy_witness_stack = self.getScriptLockRefundSwipeTxDummyWitness(script_lock_refund)
witness_bytes = self.getWitnessStackSerialisedLength(dummy_witness_stack)