mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
Contract checking method
This commit is contained in:
parent
2c90c0df65
commit
53a30740ee
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ func (bm *BlockManager) ProcessBlock(block *Block) error {
|
|||
// Process each transaction/contract
|
||||
for _, tx := range block.transactions {
|
||||
// If there's no recipient, it's a contract
|
||||
if tx.recipient == "" {
|
||||
if tx.IsContract() {
|
||||
go bm.ProcessContract(tx, block, lockChan)
|
||||
} else {
|
||||
// "finish" tx which isn't a contract
|
||||
|
|
|
|||
Loading…
Reference in a new issue