mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Commit 3
This commit is contained in:
parent
541c7ee446
commit
ec9c2aff85
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ def eval_tx(block):
|
||||||
mk_contract(block,tx) #todo: continue here
|
mk_contract(block,tx) #todo: continue here
|
||||||
else:
|
else:
|
||||||
block.update_balance(tx.to,block.get_balance(tx.to) + tx.value)
|
block.update_balance(tx.to,block.get_balance(tx.to) + tx.value)
|
||||||
|
if block.get_contract(tx.to) != 0:
|
||||||
|
eval_contract(block,tx)
|
||||||
|
|
||||||
def mk_contract(block,tx):
|
def mk_contract(block,tx):
|
||||||
cdata = tx.data
|
cdata = tx.data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue