Skip to content

Commit 39bf961

Browse files
committed
fix(client)!: rename get_script_hash_txs to get_scripthash_txs
1 parent 3cf07f3 commit 39bf961

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/blocking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ impl BlockingClient {
716716
///
717717
/// Returns 25 transactions per page. To paginate, pass the [`Txid`] of the
718718
/// last transaction seen in the previous response as `last_seen`.
719-
pub fn get_script_hash_txs(
719+
pub fn get_scripthash_txs(
720720
&self,
721721
script: &Script,
722722
last_seen: Option<Txid>,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ mod test {
10521052
.tx;
10531053
let script = &expected_tx.output[0].script_pubkey;
10541054
let script_hash_txs_txids_blocking: Vec<Txid> = blocking_client
1055-
.get_script_hash_txs(script, None)
1055+
.get_scripthash_txs(script, None)
10561056
.unwrap()
10571057
.iter()
10581058
.map(|tx| tx.txid)

0 commit comments

Comments
 (0)