Skip to content

Commit

Permalink
spm: bdk-swift 0.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Jan 18, 2024
1 parent cfffb38 commit 0adf1ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BDKSwiftExampleWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@
repositoryURL = "https://github.com/bitcoindevkit/bdk-swift";
requirement = {
kind = exactVersion;
version = 0.30.0;
version = 0.31.0;
};
};
AE7D5A0C2A7EE62200EAC8CE /* XCRemoteSwiftPackageReference "KeychainAccess" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ extension BdkError {
.Esplora(let message),
.Sled(let message),
.Rusqlite(let message),
.HardenedIndex(let message),
.Rpc(let message):
return message
}
Expand Down
2 changes: 1 addition & 1 deletion BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private class BDKService {
-> TxBuilderResult
{
guard let wallet = self.wallet else { throw WalletError.walletNotFound }
let script = try Address(address: address)
let script = try Address(address: address, network: network)
.scriptPubkey()
let txBuilder = try TxBuilder()
.addRecipient(script: script, amount: amount)
Expand Down

0 comments on commit 0adf1ae

Please sign in to comment.