Quellcode durchsuchen

Merge branch 'master' of github.com:darkrenaissance/darkfi

x vor 3 Jahren
Ursprung
Commit
2b0d414d36
2 geänderte Dateien mit 2 neuen und 17 gelöschten Zeilen
  1. 0 16
      bin/dao/daod/TODO
  2. 2 1
      bin/dao/daod/src/util.rs

+ 0 - 16
bin/dao/daod/TODO

@@ -1,16 +0,0 @@
-priority: immediate
-
-* move schema.rs to darkfi/example
-        * rename it to dao.rs
-        * we want to be able to run it like how we run example/tx.rs
-        * cargo run --example dao
-        * and it should compile and work
-
-priority: low
-
-* the things in util.rs are not all utils
-        * some of them should be moved to other modules eventually
-
-* rename [foo]_contract to just foo
-        * contract/dao_contract/ is redundant
-        * we can just have contract/dao

+ 2 - 1
bin/dao/daod/src/util.rs

@@ -124,7 +124,8 @@ impl ZkContractTable {
 // ANCHOR: transaction
 pub struct Transaction {
     pub func_calls: Vec<FuncCall>,
-    // TODO: MUST be Vec<Vec<Signature>>, this is wrong
+    // TODO: this is wrong. It should be Vec<Vec<Signature>>
+    // each Vec<Signature> correspond to ONE function call
     pub signatures: Vec<Signature>,
 }
 // ANCHOR_END: transaction