From bae3f5ceb7ddd3778488a3edc08fc19a473902cb Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 22 Nov 2017 10:19:27 +0000 Subject: [PATCH] It's a heap, not a stack --- src/crypto/OlmDevice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/OlmDevice.js b/src/crypto/OlmDevice.js index 9bc36c2b4..984cbf5d0 100644 --- a/src/crypto/OlmDevice.js +++ b/src/crypto/OlmDevice.js @@ -173,7 +173,7 @@ OlmDevice.prototype._getAccount = async function(func) { let result; await this._cryptoStore.endToEndAccountTransaction((accountData, save) => { - // Olm has a limited stack size so we must tightly control the number of + // Olm has a limited heap size so we must tightly control the number of // Olm account objects in existence at any given time: once created, it // must be destroyed again before we await. const account = new Olm.Account();