Changed 0x0 to \x00

This commit is contained in:
obscuren 2013-12-28 02:23:28 +01:00
parent 8391d3d4f4
commit d6460f3de1

View File

@ -42,7 +42,7 @@ func (bm *BlockManager) ProcessBlock(block *Block) error {
} }
func (bm *BlockManager) ProcessTransaction(tx *Transaction, lockChan chan bool) { func (bm *BlockManager) ProcessTransaction(tx *Transaction, lockChan chan bool) {
if tx.recipient == 0x0 { if tx.recipient == "\x00" {
bm.vm.RunTransaction(tx, func(opType OpType) bool { bm.vm.RunTransaction(tx, func(opType OpType) bool {
// TODO calculate fees // TODO calculate fees