fix: use alpha 9 types for tests
This commit is contained in:
@@ -111,6 +111,9 @@ afterEvaluate {
|
||||
tasks.named("mergeReleaseJniLibFolders") {
|
||||
dependsOn(":lib:moveNativeAndroidLibs")
|
||||
}
|
||||
tasks.named("mergeDebugJniLibFolders") {
|
||||
dependsOn(":lib:moveNativeAndroidLibs")
|
||||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
|
||||
@@ -33,7 +33,7 @@ class LiveTxBuilderTest {
|
||||
assert(wallet.getBalance().total > 0uL)
|
||||
|
||||
val recipient: Address = Address("tb1qrnfslnrve9uncz9pzpvf83k3ukz22ljgees989", Network.TESTNET)
|
||||
val psbt: PartiallySignedTransaction = TxBuilder()
|
||||
val psbt: Psbt = TxBuilder()
|
||||
.addRecipient(recipient.scriptPubkey(), 4200uL)
|
||||
.feeRate(FeeRate.fromSatPerVb(2uL))
|
||||
.finish(wallet)
|
||||
@@ -61,7 +61,7 @@ class LiveTxBuilderTest {
|
||||
ScriptAmount(recipient2.scriptPubkey(), 4200uL),
|
||||
)
|
||||
|
||||
val psbt: PartiallySignedTransaction = TxBuilder()
|
||||
val psbt: Psbt = TxBuilder()
|
||||
.setRecipients(allRecipients)
|
||||
.feeRate(FeeRate.fromSatPerVb(4uL))
|
||||
.changePolicy(ChangeSpendPolicy.CHANGE_FORBIDDEN)
|
||||
|
||||
@@ -61,9 +61,9 @@ class LiveWalletTest {
|
||||
|
||||
val recipient: Address = Address("tb1qrnfslnrve9uncz9pzpvf83k3ukz22ljgees989", Network.TESTNET)
|
||||
|
||||
val psbt: PartiallySignedTransaction = TxBuilder()
|
||||
val psbt: Psbt = TxBuilder()
|
||||
.addRecipient(recipient.scriptPubkey(), 4200uL)
|
||||
.feeRate(FeeRate.fromSatPerVb(4.0f))
|
||||
.feeRate(FeeRate.fromSatPerVb(4uL))
|
||||
.finish(wallet)
|
||||
|
||||
println(psbt.serialize())
|
||||
|
||||
Reference in New Issue
Block a user