venture-23 / localcoin

0 stars 0 forks source link

Fix get_campaign_info and get_creator_campaigns functions #22

Closed simusud closed 8 months ago

simusud commented 9 months ago

get_campaign_info and get_creator_campaigns functions are giving error. The error is :


    ScString(
        StringM(Donate Medicine),
    ),
) doesn't have a matching Val
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace```
simusud commented 9 months ago

The above issue was from CLI only. When the same data was decoded from soroban js client in front end, we get the expected result. So we assume that this is issue of CLI and ignore this issue. Though the return types of those getter functions are updated to dict.