File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1397,9 +1397,10 @@ pub trait RpcApi: Sized {
13971397 }
13981398
13991399 /// Returns a returns detailed information about a deterministic masternode
1400- fn get_protx_info ( & self , protx_hash : & ProTxHash ) -> Result < ProTxInfo > {
1401- let mut args = [ "info" . into ( ) , into_json ( protx_hash) ?] ;
1402- self . call :: < ProTxInfo > ( "protx" , handle_defaults ( & mut args, & [ null ( ) ] ) )
1400+ fn get_protx_info ( & self , protx_hash : & ProTxHash , block_hash : Option < & BlockHash > ) -> Result < json:: ProTxInfo > {
1401+ let mut args = [ "info" . into ( ) , into_json ( protx_hash. to_hex ( ) ) ?, opt_into_json ( block_hash) ?] ;
1402+
1403+ self . call :: < json:: ProTxInfo > ( "protx" , handle_defaults ( & mut args, & [ null ( ) ] ) )
14031404 }
14041405
14051406 /// Returns a list of provider transactions
Original file line number Diff line number Diff line change @@ -3007,7 +3007,7 @@ pub struct MetaInfo {
30073007#[ serde( rename_all = "camelCase" ) ]
30083008pub struct ProTxInfo {
30093009 #[ serde( rename = "type" ) ]
3010- mn_type : Option < String > ,
3010+ pub mn_type : Option < String > ,
30113011 #[ serde( rename = "proTxHash" ) ]
30123012 pub pro_tx_hash : ProTxHash ,
30133013 #[ serde( with = "hex" ) ]
You can’t perform that action at this time.
0 commit comments