Hi all
I’m creating Crowdfunding contract.
In this contract i build a struct
Struct {
string description,
......
mapping(address=> bool) approvals}
giving me error nested mapping cannot be constructed.
How can i resolved it?
if i do resolve it by mapping outside of struct then how i will link approvals with struct?
Nov 18, 2020, 8:56 AM
anyone on that?
Nov 18, 2020, 9:01 AM
Struct {
string description,
bool approved,
......
mapping(address=> Struct) info
string description,
bool approved,
......
mapping(address=> Struct) info
Nov 18, 2020, 9:02 AM
Thanks
Nov 18, 2020, 9:05 AM