summaryrefslogtreecommitdiffstats
path: root/libtransport/src/protocols/prod_protocol_rtc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/protocols/prod_protocol_rtc.cc')
-rw-r--r--libtransport/src/protocols/prod_protocol_rtc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/protocols/prod_protocol_rtc.cc b/libtransport/src/protocols/prod_protocol_rtc.cc
index 3d1562801..aebad23d6 100644
--- a/libtransport/src/protocols/prod_protocol_rtc.cc
+++ b/libtransport/src/protocols/prod_protocol_rtc.cc
@@ -699,8 +699,6 @@ void RTCProductionProtocol::sendContentObject(
signer_->signPacket(content_object.get());
}
- portal_->sendContentObject(*content_object);
-
// Compute and save data packet digest
if (manifest_max_capacity_ && !is_ah) {
auth::CryptoHashType hash_algo;
@@ -709,6 +707,8 @@ void RTCProductionProtocol::sendContentObject(
manifest_entries_.push({content_object->getName().getSuffix(),
content_object->computeDigest(hash_algo)});
}
+
+ portal_->sendContentObject(*content_object);
}
void RTCProductionProtocol::onFecPackets(fec::BufferArray &packets) {