From 0bab0525f7df57686629b0cd81271ba8d02c8eed Mon Sep 17 00:00:00 2001 From: parazyd Date: Tue, 25 Jan 2022 19:02:23 +0100 Subject: [PATCH] book/zkas: Correct links. --- book/src/zkas/bincode.md | 2 +- book/src/zkas/examples/sapling.md | 4 ++-- book/src/zkas/examples/voting.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/src/zkas/bincode.md b/book/src/zkas/bincode.md index fa444c541..8bea3c2a1 100644 --- a/book/src/zkas/bincode.md +++ b/book/src/zkas/bincode.md @@ -101,5 +101,5 @@ TBD ## Decoding the bincode An example decoder implementation can be found in zkas' -[`decoder.rs`](https://github.com/darkrenaissance/darkfi/blob/master/zkas/src/decoder.rs) +[`decoder.rs`](https://github.com/darkrenaissance/darkfi/blob/master/src/zkas/decoder.rs) module. diff --git a/book/src/zkas/examples/sapling.md b/book/src/zkas/examples/sapling.md index 4e5e2ad64..364ab450a 100644 --- a/book/src/zkas/examples/sapling.md +++ b/book/src/zkas/examples/sapling.md @@ -11,7 +11,7 @@ $C$, and we use the burn proof to spend a previously minted _coin_. ## Mint proof ``` -{{#include ../../../../zkas/proofs/mint.zk}} +{{#include ../../../../proofs/mint.zk}} ``` As you can see, the `Mint` proof basically consists of three @@ -120,7 +120,7 @@ let public_inputs = vec![ ## Burn ``` -{{#include ../../../../zkas/proofs/burn.zk}} +{{#include ../../../../proofs/mint.zk}} ``` The `Burn` proof consists of operations similar to the `Mint` proof, diff --git a/book/src/zkas/examples/voting.md b/book/src/zkas/examples/voting.md index 1a02d48e4..78703fc8e 100644 --- a/book/src/zkas/examples/voting.md +++ b/book/src/zkas/examples/voting.md @@ -15,7 +15,7 @@ with its voter's key on the database, so votes wouldn't be secret. ## Vote proof ``` -{{#include ../../../../zkas/proofs/voting.zk}} +{{#include ../../../../proofs/voting.zk}} ``` Our proof consists of four main operation. First we are hashing the