Closed hackfisher closed 5 years ago
Is there a typo or issue here?
https://github.com/MythicalGames/dgoods/blob/master/src/dgoods.cpp#L66
The usage are weird.
/Users/xxx/github.com/evolutionlandorg/eos-contracts/dgoods/dgoods.cpp:66:68: error: unknown type name 'actions'; did you mean 'action'? stats.burnable = burnable; actions ^~~~~~~ action /usr/local/Cellar/eosio.cdt/1.6.1/opt/eosio.cdt/bin/../include/eosiolib/action.hpp:194:11: note: 'action' declared here struct action { ^ /Users/xxx/github.com/evolutionlandorg/eos-contracts/dgoods/dgoods.cpp:67:9: error: redefinition of 'stats' stats.transferable = transferable; ^ /Users/xxx/github.com/evolutionlandorg/eos-contracts/dgoods/dgoods.cpp:61:49: note: previous definition is here stats_table.emplace( get_self(), [&]( auto& stats ) { ^ /Users/xxx/github.com/evolutionlandorg/eos-contracts/dgoods/dgoods.cpp:67:14: error: expected ';' at end of declaration stats.transferable = transferable; ^ ;
👍 good catch
Is there a typo or issue here?
https://github.com/MythicalGames/dgoods/blob/master/src/dgoods.cpp#L66
The usage are weird.