File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ impl<S: Sleeper> AsyncClient<S> {
471471 /// sorted with newest first. Returns 25 transactions per page.
472472 /// More can be requested by specifying the last txid seen by the previous
473473 /// query.
474- pub async fn scripthash_txs (
474+ pub async fn get_scripthash_txs (
475475 & self ,
476476 script : & Script ,
477477 last_seen : Option < Txid > ,
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ impl BlockingClient {
433433 /// sorted with newest first. Returns 25 transactions per page.
434434 /// More can be requested by specifying the last txid seen by the previous
435435 /// query.
436- pub fn scripthash_txs (
436+ pub fn get_scripthash_txs (
437437 & self ,
438438 script : & Script ,
439439 last_seen : Option < Txid > ,
Original file line number Diff line number Diff line change @@ -954,7 +954,7 @@ mod test {
954954
955955 #[ cfg( all( feature = "blocking" , feature = "async" ) ) ]
956956 #[ tokio:: test]
957- async fn test_scripthash_txs ( ) {
957+ async fn test_get_scripthash_txs ( ) {
958958 let env = TestEnv :: new ( ) ;
959959 let ( blocking_client, async_client) = env. setup_clients ( ) ;
960960
@@ -976,13 +976,13 @@ mod test {
976976 . tx ;
977977 let script = & expected_tx. output [ 0 ] . script_pubkey ;
978978 let scripthash_txs_txids: Vec < Txid > = blocking_client
979- . scripthash_txs ( script, None )
979+ . get_scripthash_txs ( script, None )
980980 . unwrap ( )
981981 . iter ( )
982982 . map ( |tx| tx. txid )
983983 . collect ( ) ;
984984 let scripthash_txs_txids_async: Vec < Txid > = async_client
985- . scripthash_txs ( script, None )
985+ . get_scripthash_txs ( script, None )
986986 . await
987987 . unwrap ( )
988988 . iter ( )
You can’t perform that action at this time.
0 commit comments