Update Wallet.getBalance doc to reflect Balance return type

This is a fix for issue #284
This commit is contained in:
Shobit Beltangdy 2022-12-17 09:11:52 -08:00
parent bada9b82e0
commit 12e9a18357
No known key found for this signature in database
GPG Key ID: ECDDED18A4204604

View File

@ -367,8 +367,8 @@ class Wallet(
*/
fun getAddress(addressIndex: AddressIndex): AddressInfo {}
/** Return the balance, meaning the sum of this wallets unspent outputs values. Note that this method only operates on the internal database, which first needs to be [Wallet.sync] manually. */
fun getBalance(): ULong {}
/** Return the wallet's balance, across different categories. See [Balance] for the categories. Note that this method only operates on the internal database, which first needs to be [Wallet.sync] manually. */
fun getBalance(): Balance {}
/** Sign a transaction with all the wallets signers. */
fun sign(psbt: PartiallySignedBitcoinTransaction): Boolean {}