From f86a9df594fea2cb4a447ab4ba44f1a041830228 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Thu, 4 Nov 2021 17:44:02 -0700 Subject: [PATCH] Fix build.sh kotlin copy for android --- build.sh | 2 +- src/lib.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 89b786d..160a105 100755 --- a/build.sh +++ b/build.sh @@ -122,7 +122,7 @@ build_android() { fi # copy sources - cp -R bindings/bdk-kotlin/jvm/src/main/ bindings/bdk-kotlin/android/src/main/ + cp -R bindings/bdk-kotlin/jvm/src/main/kotlin bindings/bdk-kotlin/android/src/main # bdk-kotlin aar (cd bindings/bdk-kotlin && ./gradlew :android:build && ./gradlew :android:publishToMavenLocal) diff --git a/src/lib.rs b/src/lib.rs index 63505de..7b1c854 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,7 +100,9 @@ impl From<&bdk::TransactionDetails> for Transaction { details: TransactionDetails::from(x), confirmation, }, - None => Transaction::Unconfirmed { details: TransactionDetails::from(x) }, + None => Transaction::Unconfirmed { + details: TransactionDetails::from(x), + }, } } }