Replace AddressAmount with ScriptAmount in Kotlin API docs

This commit is contained in:
thunderbiscuit 2022-11-24 14:54:30 -05:00
parent 832387d32d
commit 9c0606e036
No known key found for this signature in database
GPG Key ID: 88253696EB836462

View File

@ -351,7 +351,7 @@ class TxBuilder() {
/** Add a recipient to the internal list. */
fun addRecipient(script: Script, amount: ULong): TxBuilder {}
/** Set the list of recipients by providing a list of [AddressAmount]. */
/** Set the list of recipients by providing a list of [ScriptAmount]. */
fun setRecipients(recipients: List<ScriptAmount>): TxBuilder {}
/** Add a utxo to the internal list of unspendable utxos. Its important to note that the "must-be-spent" utxos added with [TxBuilder.addUtxo] have priority over this. See the Rust docs of the two linked methods for more details. */
@ -420,12 +420,12 @@ class TxBuilder() {
}
/**
* A object holding an ScriptPubKey and an amount.
* A object holding a ScriptPubKey and an amount.
*
* @property script The ScriptPubKey.
* @property amount The amount.
*/
data class AddressAmount (
data class ScriptAmount (
var script: Script,
var amount: ULong
)