(wallet, txp)
| 1797 | } |
| 1798 | |
| 1799 | public async publishAndSign(wallet, txp): Promise<any> { |
| 1800 | const password = await this.prepare(wallet); |
| 1801 | // Already published? |
| 1802 | if (txp.status == 'pending') { |
| 1803 | return this.signAndBroadcast(wallet, txp, password); |
| 1804 | } |
| 1805 | this.onGoingProcessProvider.set('sendingTx'); |
| 1806 | const publishedTxp = await this.publishTx(wallet, txp); |
| 1807 | return this.signAndBroadcast(wallet, publishedTxp, password); |
| 1808 | } |
| 1809 | |
| 1810 | public signMultipleTxps(wallet, txps: any[]): Promise<any> { |
| 1811 | [].concat(txps); |
no test coverage detected