OSDN Git Service

small edit (#2057)
[bytom/bytom.git] / database / store_geter.go
index 2761ee6..7ff9afb 100644 (file)
@@ -19,6 +19,7 @@ const (
        mainChainIndex
        checkpoint
        utxo
+       contract
 )
 
 var (
@@ -29,6 +30,7 @@ var (
        mainChainIndexKeyPrefix = []byte{mainChainIndex, colon}
        checkpointKeyPrefix     = []byte{checkpoint, colon}
        UtxoKeyPrefix           = []byte{utxo, colon}
+       ContractPrefix          = []byte{contract, colon}
 )
 
 func calcMainChainIndexPrefix(height uint64) []byte {