From 591e2a33df43de15e98328a4f47d9e9b6eef59a2 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Mon, 9 Jan 2017 18:49:27 +0000 Subject: [PATCH] update subscription closure notes/code for clarity --- sgx-catapult.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sgx-catapult.rb b/sgx-catapult.rb index 7e375479e3ba917fd430d423687996eef2fc198f..345ae9823fd655cd28f514de8b68185ac2759804 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -166,9 +166,9 @@ module SGXcatapult end subscription(:request?) do |s| - # TODO: fix these - they don't actual work; write does not exist - #write(s.approve!) - #write(s.request!) + # TODO: are these the best to return? really need '!' here? + #write_to_stream s.approve! + #write_to_stream s.request! end end