You are viewing a single comment's thread from:
RE: A better approach to Turing Complete Smart Contracts
if( from_balance <= 0 && Db.script_account().toString != from)
Fiber.abort( "insufficient balance" )
This code looks strange.
By the way, do we need to check whether from_balance >= a
?