From 41318189b5eba92b7b5a9586e871b05d6e90af02 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Fri, 17 Jul 2020 19:53:09 -0500 Subject: [PATCH] readOnly tables API can only return table names returning the keys channels would let the caller change the keys! --- rchat/iddb.rho | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rchat/iddb.rho b/rchat/iddb.rho index ed65578..e095a06 100644 --- a/rchat/iddb.rho +++ b/rchat/iddb.rho @@ -41,7 +41,7 @@ in { contract readOnly(@"tables", return) = { for (@tables <<- tablesCh) { - return!(tables) + return!(tables.keys()) } } |