use of com.sparrowwallet.sparrow.net.ElectrumServer in project sparrow by sparrowwallet.
the class SparrowDataSource method pushTx.
@Override
public void pushTx(String txHex) throws Exception {
Transaction transaction = new Transaction(Utils.hexToBytes(txHex));
ElectrumServer electrumServer = new ElectrumServer();
electrumServer.broadcastTransactionPrivately(transaction);
}
Aggregations