ProvableHQ / welcome

👋 Welcome to Provable! Zero-Knowledge is Finally Here 🚀
https://provable.com
GNU General Public License v3.0
321 stars 217 forks source link

fix: update balances to account #346

Open goldenraisin opened 7 months ago

goldenraisin commented 7 months ago
    let current_amount: u64 = Mapping::get_or_use(account, receiver, 0u64);
    Mapping::set(account, receiver, current_amount + amount);