You are viewing a single comment's thread from:

RE: A better approach to Turing Complete Smart Contracts

in #blockchain7 years ago
          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?

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 63968.82
ETH 3136.80
USDT 1.00
SBD 4.28