Skip to content

Commit 2a21473

Browse files
committed
work around bug
1 parent 2821211 commit 2a21473

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

execution_chain/nimbus_execution_client.nim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
import
1313
../execution_chain/compile_info
1414

15+
import chronos/futures
16+
17+
proc workaround_future_string*(): string {.exportc.} =
18+
# TODO https://github.com/nim-lang/Nim/issues/24844
19+
return Future[string]().internalValue
20+
1521
import
1622
chronicles,
1723
eth/net/nat,

0 commit comments

Comments
 (0)