From 28593bed1d8258ff0db49d2a78a257b37360537f Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 31 Oct 2023 14:43:28 -0700 Subject: [PATCH] push changes --- codex/blockexchange/engine/engine.nim | 1 + tests/codex/blockexchange/engine/testengine.nim | 2 ++ 2 files changed, 3 insertions(+) diff --git a/codex/blockexchange/engine/engine.nim b/codex/blockexchange/engine/engine.nim index ddff3c49..3fc2c024 100644 --- a/codex/blockexchange/engine/engine.nim +++ b/codex/blockexchange/engine/engine.nim @@ -306,6 +306,7 @@ proc payForBlocks(engine: BlockExcEngine, if payment =? engine.wallet.pay(peer, price): trace "Sending payment for blocks", price + # echo "sendPayment" await sendPayment(peer.id, payment) proc validateBlockDelivery( diff --git a/tests/codex/blockexchange/engine/testengine.nim b/tests/codex/blockexchange/engine/testengine.nim index 5c960bb0..45505f04 100644 --- a/tests/codex/blockexchange/engine/testengine.nim +++ b/tests/codex/blockexchange/engine/testengine.nim @@ -17,6 +17,8 @@ import pkg/codex/discovery import pkg/codex/blocktype import pkg/codex/utils/asyncheapqueue +when defined(chronosFuturesInstrumentation): + import pkg/codex/utils/asyncprofiler import ../../helpers import ../../examples