summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-01 22:46:29 -0700
committerJosh Blum2013-06-01 22:46:29 -0700
commitd15ca88acfbd71c5d4f8ab3dabe0f4fbde205985 (patch)
treee0ba8437cf65503fa05197e774024da4f9b54230 /lib/block_handlers.cpp
parent40af24eb55d2d43f51d7ada30566d5203f0fef8c (diff)
downloadsandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.gz
sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.bz2
sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.zip
gras: created uid API - replaces name and unique_id
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 12ba065..e0ee67a 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -154,7 +154,7 @@ void BlockActor::handle_get_stats(
//create the message reply object
GetStatsMessage message;
- message.block_id = this->block_ptr->to_string();
+ message.block_id = this->block_ptr->get_uid();
message.stats = this->stats;
message.stats_time = time_now();