feat: expose new methods on txbuilder

This commit is contained in:
thunderbiscuit
2023-11-15 10:31:29 -05:00
parent e79ce98295
commit 787152e0b4
6 changed files with 184 additions and 116 deletions

View File

@@ -15,6 +15,8 @@ class LiveWalletTest {
val update = esploraClient.scan(wallet, 10uL, 1uL)
wallet.applyUpdate(update)
println("Balance: ${wallet.getBalance().total()}")
val balance: Balance = wallet.getBalance()
println("Balance: $balance")
assert(wallet.getBalance().total() > 0uL)
}

View File

@@ -1,6 +1,7 @@
package org.bitcoindevkit
import kotlin.test.Test
import kotlin.test.assertEquals
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.runner.RunWith
import kotlin.test.assertEquals