summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 7e07362..3d66ec9 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -8,7 +8,7 @@ using namespace gras;
void BlockActor::handle_top_active(
- const TopActiveMessage &,
+ const TopActiveMessage &message,
const Theron::Address from
){
MESSAGE_TRACER();
@@ -18,6 +18,7 @@ void BlockActor::handle_top_active(
this->block_ptr->start();
}
this->block_state = BLOCK_STATE_LIVE;
+ this->active_token = message.token;
this->Push(SelfKickMessage(), Theron::Address());