diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 086f34e..a79d581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,7 @@ jobs: matrix: os: [ ubuntu-22.04, ubuntu-latest, macos-13, macos-latest, windows-2019, windows-latest ] steps: + - uses: ilammy/setup-nasm@v1 - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - name: Platform ${{matrix.os}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edcc11e..76fc5fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,7 @@ jobs: matrix: os: [ ubuntu-latest, macos-13, macos-latest, windows-latest ] steps: + - uses: ilammy/setup-nasm@v1 - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - name: Test ${{matrix.os}} diff --git a/src/wallet.rs b/src/wallet.rs index 02d8795..0c8462b 100644 --- a/src/wallet.rs +++ b/src/wallet.rs @@ -346,8 +346,8 @@ impl CloneNoPersistence for WalletCache { Self { persistence: None, descriptor: self.descriptor.clone(), - last_block: self.last_block.clone(), - last_change: self.last_change.clone(), + last_block: self.last_block, + last_change: self.last_change, headers: self.headers.clone(), tx: self.tx.clone(), utxo: self.utxo.clone(),