aboutsummaryrefslogtreecommitdiffstats
path: root/block_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'block_manager.go')
-rw-r--r--block_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_manager.go b/block_manager.go
index 6c1a0fe58..0f7a64cf8 100644
--- a/block_manager.go
+++ b/block_manager.go
@@ -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