diff --git a/build/dgoods/dgoods.wasm b/build/dgoods/dgoods.wasm index 0066415..028be08 100755 Binary files a/build/dgoods/dgoods.wasm and b/build/dgoods/dgoods.wasm differ diff --git a/src/dgoods.cpp b/src/dgoods.cpp index 4410405..60c16f1 100644 --- a/src/dgoods.cpp +++ b/src/dgoods.cpp @@ -9,7 +9,7 @@ ACTION dgoods::setconfig(const symbol_code& sym, const string& version) { // can only have one symbol per contract config_index config_table(get_self(), get_self().value); - auto config_singleton = config_table.get_or_create( get_self(), tokenconfigs{ "dgoods"_n, version, sym, 0, 0 } ); + auto config_singleton = config_table.get_or_create( get_self(), tokenconfigs{ "dgoods"_n, version, sym, 1, 1 } ); // setconfig will always update version when called config_singleton.version = version;