Commit 50b8cd01 authored by vipwzw's avatar vipwzw Committed by 33cn

update chain33

parent 2828d7a9
......@@ -10,6 +10,7 @@ import (
_ "github.com/33cn/plugin/plugin/dapp/lottery" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/multisig" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/norm" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/oracle" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/paracross" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/pokerbull" //auto gen
_ "github.com/33cn/plugin/plugin/dapp/privacy" //auto gen
......
......@@ -158,7 +158,7 @@ func NewTable(rowmeta RowMeta, kvdb db.KV, opt *Option) (*Table, error) {
return nil, err
}
//不允许有 "-"
if strings.Contains(opt.Prefix, sep) || strings.Contains(opt.Name, sep) {
if strings.Contains(opt.Name, sep) {
return nil, ErrTablePrefixOrTableName
}
//非jointable 不允许 "#"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment