doNotSpendChange

open override fun doNotSpendChange(): TxBuilder(source)

Do not spend change outputs.

This effectively adds all the change outputs to the "unspendable" list. See TxBuilder::unspendable. This method assumes the presence of an internal keychain, otherwise it has no effect.