mirror of
https://github.com/scoobybejesus/cryptools.git
synced 2026-01-11 15:57:56 -05:00
Move assert() out of mvmt for loop. Should assert only once per txn. #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @scoobybejesus on 12/30/2021
47c3e35665/crptls/src/import_cost_proceeds_etc.rs (L124)Or perhaps instead put a var outside the loop to track whether the assert has been run for the current transaction, since the assert() is only run for ToSelf transactions anyway.