summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-12-25 22:08:35 -0600
committerJosh Blum2012-12-25 22:08:35 -0600
commit64ab3a982b7ae84be134b977bf6cb035f4be0e9e (patch)
tree3f213dea47d8d8df702aafb08c2f490ef323b0ed /lib/block_handlers.cpp
parentd8c46b89674262bcb1b93b468e66d836de05e92e (diff)
downloadsandhi-64ab3a982b7ae84be134b977bf6cb035f4be0e9e.tar.gz
sandhi-64ab3a982b7ae84be134b977bf6cb035f4be0e9e.tar.bz2
sandhi-64ab3a982b7ae84be134b977bf6cb035f4be0e9e.zip
todo comment + tweak for block handler
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 3eb39db..87c5ee4 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -20,9 +20,14 @@ void BlockActor::handle_top_active(
this->block_state = BLOCK_STATE_LIVE;
this->active_token = message.token;
- this->Push(SelfKickMessage(), Theron::Address());
-
this->Send(0, from); //ACK
+
+ //TODO figure out for why under what funny reasons
+ //grextras packet test has an issue passing
+ //when I do the kick, but not with the direct call to handle
+ //ideally, we always kick here and let the kick handler call handle_task
+ this->handle_task();
+ //this->Push(SelfKickMessage(), Theron::Address());
}
void BlockActor::handle_top_inert(