Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests-rs-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:
if [ -d target/llvm-cov-target ]; then
du -sh target/llvm-cov-target || true
for attempt in 1 2 3; do
if rm -rf target/llvm-cov-target; then
if rm -rf target/llvm-cov-target && [ ! -e target/llvm-cov-target ]; then
break
fi
echo "::warning::Coverage cleanup attempt ${attempt} failed; retrying"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ final class TestWalletWrapper {
accountType: .bip44,
accountIndex: 0
)
return try core.broadcastTransaction(tx)
switch try core.broadcastTransactionWithOutcome(tx) {
case .accepted(let txid):
return txid
case .rejected(_, let reason):
throw PlatformWalletError.transactionBroadcastRejected(reason)
case .unknown(_, let reason):
throw PlatformWalletError.transactionBroadcastUnconfirmed(reason)
}
}

func waitForSpendable(exactly duffs: UInt64, timeout: TimeInterval = 60) async throws {
Expand Down
Loading