From 0fc1b940de438d6b90e0f5bdc04db8a16c0601d1 Mon Sep 17 00:00:00 2001 From: ffranr Date: Wed, 13 Sep 2023 19:00:31 +0100 Subject: [PATCH] fixup! multi: add universe RPC proof courier --- proof/courier.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/proof/courier.go b/proof/courier.go index 5145f06e0..5caf84dff 100644 --- a/proof/courier.go +++ b/proof/courier.go @@ -1029,13 +1029,6 @@ func (c *UniverseRpcCourier) DeliverProof(ctx context.Context, func (c *UniverseRpcCourier) ReceiveProof(ctx context.Context, originLocator Locator) (*AnnotatedProof, error) { - // Sleep for a bit to give the sender sufficient time to transfer the - // proof to the proof courier service. - // - // TODO(ffranr): Replace this with the backoff procedure as found in the - // hashmail courier. - time.Sleep(5 * time.Second) - // In order to reconstruct the proof file we must collect all the // transition proofs that make up the main chain of proofs. That is // accomplished by iterating backwards through the main chain of proofs