Skip to content

Commit 77d821e

Browse files
committed
Merge rust-bitcoin#4961: fix: use correct function name in taproot-psbt error message
15f90af fix: use correct function name in taproot-psbt error message (Cameric) Pull request description: Replace non-existent `refresh_inheritance_timelock` with actual `refresh_tx` function name in error message ACKs for top commit: apoelstra: ACK 15f90af; successfully ran local tests Tree-SHA512: 142956a22c7a8d22d88c2d8965be0441307ad1c5939ba536604943f141c28f5b38b3fe8107d5ceb5065f2d1b8ae1ce55c87fdbe1e841c3a42f9a226fab778539
2 parents c991e92 + 15f90af commit 77d821e

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)