Browse Source

contract/money: Add note about ZKAS_TREE.

parazyd 3 năm trước cách đây
mục cha
commit
ef9c4d3c52
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/contract/money/src/lib.rs

+ 1 - 1
src/contract/money/src/lib.rs

@@ -56,7 +56,7 @@ define_contract!(
 );
 );
 
 
 // These are the different sled trees that will be created
 // These are the different sled trees that will be created
-pub const ZKAS_TREE: &str = "zkas";
+pub const ZKAS_TREE: &str = "zkas"; // <-- This should be a constant in darkfi-sdk
 pub const COIN_ROOTS_TREE: &str = "coin_roots";
 pub const COIN_ROOTS_TREE: &str = "coin_roots";
 pub const NULLIFIERS_TREE: &str = "nullifiers";
 pub const NULLIFIERS_TREE: &str = "nullifiers";
 pub const INFO_TREE: &str = "info";
 pub const INFO_TREE: &str = "info";