Skip to content

Commit 39936c1

Browse files
OttoAllmendingerllm-git
andcommitted
feat(wasm-utxo): remove unused variable in P2SH-P2PK test
Remove unused expected_pubkey variable in the singlesig wallet script tests since it's not being used in the test assertions. Issue: BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 7d976ac commit 39936c1

File tree

1 file changed

+1
-1
lines changed
  • packages/wasm-utxo/src/fixed_script_wallet/wallet_scripts

1 file changed

+1
-1
lines changed

packages/wasm-utxo/src/fixed_script_wallet/wallet_scripts/singlesig.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mod tests {
5656

5757
// Get the expected values from the fixture
5858
let expected_redeem_script = &p2shp2pk_input.redeem_script;
59-
let expected_pubkey = p2shp2pk_input
59+
p2shp2pk_input
6060
.partial_sig
6161
.first()
6262
.map(|sig| &sig.pubkey)

0 commit comments

Comments
 (0)