diff options
author | obscuren <obscuren@obscura.com> | 2014-01-03 07:43:49 +0800 |
---|---|---|
committer | obscuren <obscuren@obscura.com> | 2014-01-03 07:43:49 +0800 |
commit | 7cd41ac45aed7ee22ef02f8abedf83a2914c4807 (patch) | |
tree | 7a4c3daee8a04dc9604098407f019bb5db9ea3d4 /block_manager.go | |
parent | 9df4c745119b3ed10a7ad17887e8dd9cac249af7 (diff) | |
download | go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar.gz go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar.bz2 go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar.lz go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar.xz go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.tar.zst go-tangerine-7cd41ac45aed7ee22ef02f8abedf83a2914c4807.zip |
Wip VM. Created contracts
Diffstat (limited to 'block_manager.go')
-rw-r--r-- | block_manager.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/block_manager.go b/block_manager.go index 0ef5d1108..f3aa29ba4 100644 --- a/block_manager.go +++ b/block_manager.go @@ -45,13 +45,11 @@ func (bm *BlockManager) ProcessBlock(block *Block) error { } func (bm *BlockManager) ProcessTransaction(tx *Transaction, block *Block, lockChan chan bool) { - if tx.recipient == "\x00" { - bm.vm.RunTransaction(tx, block, func(opType OpType) bool { - // TODO calculate fees + bm.vm.RunTransaction(tx, block, func(opType OpType) bool { + // TODO calculate fees - return true // Continue - }) - } + return true // Continue + }) // Broadcast we're done lockChan <- true |