c12a4aed3b
* add RedeemRewards method * remove redeem from reward.db * add redeemable cap check in redeem * rename offerCap to redeemableCap * remove redeem test * update error message * fix build * Trigger Jenkins * use correct credit setting for redeem * fix comment * change create qury to get redeemable_cap from offers table * change referredBy to a pointer in user credit struct |
||
---|---|---|
.. | ||
rewards_test.go | ||
rewards.go |