Skip to content

Commit 9507893

Browse files
committed
joinstr: add an error log in WpkhHotSigner::sign()
1 parent 8caa5a3 commit 9507893

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/joinstr/src/signer/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ impl WpkhHotSigner {
281281
.map_err(|_| Error::CoinPath)?;
282282

283283
if input_data.txout.script_pubkey != spk {
284+
log::error!("WpkhHotSigner::sign(): derived and provided spk do no match!");
284285
return Err(Error::CoinPath);
285286
}
286287

0 commit comments

Comments
 (0)