abortTransaction

abstract fun abortTransaction(tx: iTransaction, returnUnusedAddresses: List<PayAddress>? = null)

Abort this transaction, whose inputs were reserved by "prepareSend". Update the wallet to release all inputs reserved by this transaction

Return

Nothing

Parameters

tx

The transaction to be aborted

Throws

error specific subclasses of WalletException are thrown if the transaction cannot be constructed