Skip to content

Commit 83fa375

Browse files
OttoAllmendingerllm-git
andcommitted
feat(wasm-utxo): rename unused pubkey_xonly to _pubkey_xonly
BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 2c73c41 commit 83fa375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/wasm-utxo/src/psbt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use wasm_bindgen::{JsError, JsValue};
1717
struct SingleKeySigner {
1818
privkey: PrivateKey,
1919
pubkey: PublicKey,
20-
pubkey_xonly: XOnlyPublicKey,
20+
_pubkey_xonly: XOnlyPublicKey,
2121
fingerprint: Fingerprint,
2222
fingerprint_xonly: Fingerprint,
2323
}
@@ -33,7 +33,7 @@ impl SingleKeySigner {
3333
SingleKeySigner {
3434
privkey,
3535
pubkey,
36-
pubkey_xonly,
36+
_pubkey_xonly: pubkey_xonly,
3737
fingerprint: SingleKeySigner::fingerprint(SinglePubKey::FullKey(pubkey)),
3838
fingerprint_xonly: SingleKeySigner::fingerprint(SinglePubKey::XOnly(pubkey_xonly)),
3939
}

0 commit comments

Comments
 (0)