diff --git a/tests/dagger/examples.nim b/tests/dagger/examples.nim index fceb40a4..996b2add 100644 --- a/tests/dagger/examples.nim +++ b/tests/dagger/examples.nim @@ -42,7 +42,7 @@ proc example*(_: type Pricing): Pricing = proc example*(_: type Block): Block = let length = rand(4096) let bytes = newSeqWith(length, rand(uint8)) - Block.init(bytes).tryGet + Block.init(bytes).get() proc example*(_: type PeerId): PeerID = let key = PrivateKey.random(Rng.instance[]).get