Skip to content

Commit 15f90af

Browse files
authored
fix: use correct function name in taproot-psbt error message
1 parent c2cce97 commit 15f90af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/examples/taproot-psbt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl BenefactorWallet {
386386
) -> Result<(Transaction, Psbt), Box<dyn std::error::Error>> {
387387
if let ChildNumber::Normal { index } = self.next {
388388
if index > 0 && self.current_spend_info.is_some() {
389-
return Err("transaction already exists, use refresh_inheritance_timelock to refresh the timelock".into());
389+
return Err("transaction already exists, use refresh_tx to refresh the timelock".into());
390390
}
391391
}
392392
// We use some other derivation path in this example for our inheritance protocol. The important thing is to ensure

0 commit comments

Comments
 (0)