File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,9 @@ where
141141
142142 // We need the current block number to know when the timeout is reached.
143143 let current_block = self . client . info ( ) . best_number . saturated_into :: < u32 > ( ) ;
144- let hash = self . pool . insert ( data. 0 , current_block, recipient_keys, alias) ?;
144+ let _hash = self . pool . insert ( data. 0 , current_block, recipient_keys, alias) ?;
145145 let pool_status = self . pool . status ( ) ;
146- Ok ( SubmitResult { hash : Bytes ( hash . 0 . to_vec ( ) ) , pool_status } )
146+ Ok ( SubmitResult { pool_status } )
147147 }
148148
149149 fn claim ( & self , hash : Bytes , signature : Bytes ) -> RpcResult < Bytes > {
Original file line number Diff line number Diff line change @@ -113,8 +113,6 @@ pub struct PoolStatus {
113113#[ derive( Debug , Clone , Serialize , Deserialize ) ]
114114#[ serde( rename_all = "camelCase" ) ]
115115pub struct SubmitResult {
116- /// The content hash of the submitted data
117- pub hash : sp_core:: Bytes ,
118116 /// Current pool status after the submission
119117 pub pool_status : PoolStatus ,
120118}
You can’t perform that action at this time.
0 commit comments