Skip to content

Commit 21bd393

Browse files
authored
readme: bdk pre-post 1.0 notes
1 parent 9bffa03 commit 21bd393

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ struct TransactionDetailView: View {
141141
.font(.caption)
142142
.padding()
143143
.task {
144-
print("TransactionDetailsView appeared")
145144
viewModel.getNetwork()
146145
viewModel.getEsploraUrl()
147146
viewModel.getCalulateFee(tx: canonicalTx.transaction)

BDKSwiftExampleWallet/View/Activity/TransactionListView.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ struct TransactionListView: View {
4949
canonicalTx: canonicalTx,
5050
amount: sentAndReceivedValues.sent.toSat() == 0
5151
? sentAndReceivedValues.received.toSat()
52-
: sentAndReceivedValues.sent.toSat() - sentAndReceivedValues.received.toSat()
52+
: sentAndReceivedValues.sent.toSat()
53+
- sentAndReceivedValues.received.toSat()
5354
)
5455
) {
5556
TransactionItemView(

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ An example iOS app using [Bitcoin Dev Kit](https://github.com/bitcoindevkit) 1.0
88

99
## Build
1010

11-
### 1.0
11+
### BDK 1.0
1212

1313
The `main` branch of BDK Swift Example Wallet uses a local package of bdk-swift, built using a [build script in bdk-ffi](https://github.com/bitcoindevkit/bdk-ffi/blob/master/bdk-swift/build-xcframework.sh).
1414

1515
*This is temporary as we gear up for the 1.0 beta of bdk-swift, which is currently in [alpha](https://github.com/bitcoindevkit/bdk-swift/releases), and allows for those migrating to 1.0 to keep up with the latest and greatest.*
1616

17-
### Pre 1.0
17+
### BDK Pre 1.0
1818

1919
The `pre-v1` branch of BDK Swift Example Wallet uses a remote package of bdk-swift.
2020

0 commit comments

Comments
 (0)