Skip to content

Commit 435f2e9

Browse files
committed
fix utxoupdatepsbt client macro
The macro had a typo and returned the incorrect type. Fix the typo and return the correct type.
1 parent 17e19ce commit 435f2e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/client_sync/v18/raw_transactions.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ macro_rules! impl_client_v18__join_psbts {
3535
};
3636
}
3737

38-
/// Implements Bitcoin Core JSON-RPC API method `uxtoupdatepsbt`.
38+
/// Implements Bitcoin Core JSON-RPC API method `utxoupdatepsbt`.
3939
#[macro_export]
4040
macro_rules! impl_client_v18__utxo_update_psbt {
4141
() => {
4242
impl Client {
43-
pub fn utxo_update_psbt(&self, psbt: &bitcoin::Psbt) -> Result<JoinPsbts> {
43+
pub fn utxo_update_psbt(&self, psbt: &bitcoin::Psbt) -> Result<UtxoUpdatePsbt> {
4444
let psbt = format!("{}", psbt);
45-
self.call("uxtoupdatepsbt", &[psbt.into()])
45+
self.call("utxoupdatepsbt", &[psbt.into()])
4646
}
4747
}
4848
};

0 commit comments

Comments
 (0)