Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change directory back to repo root. #545

Merged
merged 6 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:
run: |
# Run build script for musl toolchain
source musl-toolchain/build.sh


# Go back to the workspace
cd $GITHUB_WORKSPACE

# Build for musl
cargo --verbose build --bin kaspad --bin rothschild --bin kaspa-wallet --release --target x86_64-unknown-linux-musl
mkdir bin || true
Expand Down
2 changes: 1 addition & 1 deletion crypto/txscript/src/caches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl<TKey: Clone + std::hash::Hash + Eq + Send + Sync, TData: Clone + Send + Syn
}

pub(crate) fn get(&self, key: &TKey) -> Option<TData> {
self.map.read().get(key).cloned().map(|data| {
self.map.read().get(key).cloned().inspect(|data| {
michaelsutton marked this conversation as resolved.
Show resolved Hide resolved
self.counters.get_counts.fetch_add(1, Ordering::Relaxed);
data
michaelsutton marked this conversation as resolved.
Show resolved Hide resolved
})
Expand Down
Loading