@@ -187,43 +187,4 @@ export class TransactionService implements ITransactionService {
187187 map ( ( statement ) => transaction . resolveAliases ( statement , aggregateIndex ) ) ,
188188 ) ;
189189 }
190-
191- /**
192- * @param signedTransaction Signed transaction to be announced.
193- * @param listener Websocket listener
194- * @returns {Observable<Transaction> }
195- */
196- public announce ( signedTransaction : SignedTransaction , listener : Listener ) : Observable < Transaction > {
197- return this . transactionHttp . announce ( signedTransaction ) . pipe (
198- flatMap ( ( ) => listener . confirmed ( signedTransaction . getSignerAddress ( ) , signedTransaction . hash ) ) ,
199- ) ;
200- }
201-
202- /**
203- * Announce aggregate transaction
204- * @param signedTransaction Signed aggregate bonded transaction.
205- * @param listener Websocket listener
206- * @returns {Observable<AggregateTransaction> }
207- */
208- public announceAggregateBonded ( signedTransaction : SignedTransaction , listener : Listener ) : Observable < AggregateTransaction > {
209- return this . transactionHttp . announceAggregateBonded ( signedTransaction ) . pipe (
210- flatMap ( ( ) => listener . aggregateBondedAdded ( signedTransaction . getSignerAddress ( ) , signedTransaction . hash ) ) ,
211- ) ;
212- }
213-
214- /**
215- * Announce aggregate bonded transaction with lock fund
216- * @param signedHashLockTransaction Signed hash lock transaction.
217- * @param signedAggregateTransaction Signed aggregate bonded transaction.
218- * @param listener Websocket listener
219- * @returns {Observable<AggregateTransaction> }
220- */
221- public announceHashLockAggregateBonded ( signedHashLockTransaction : SignedTransaction ,
222- signedAggregateTransaction : SignedTransaction ,
223- listener : Listener ) : Observable < AggregateTransaction > {
224- return this . announce ( signedHashLockTransaction , listener ) . pipe (
225- flatMap ( ( ) => this . announceAggregateBonded ( signedAggregateTransaction , listener ) ) ,
226- ) ;
227-
228- }
229190}
0 commit comments