From fcfcb3dca686d7a104f26cdabb6f9c890222e5bb Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 7 Oct 2020 18:43:51 +0530 Subject: [PATCH] fix history trim for channels with access lists --- lib/commands/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/channel.js b/lib/commands/channel.js index 46502d06e..86ab7bc8c 100644 --- a/lib/commands/channel.js +++ b/lib/commands/channel.js @@ -159,7 +159,7 @@ Channel.trimHistory = function (Env, safeKey, data, cb) { var hash = data.hash; nThen(function (w) { - Metadata.getMetadata(Env, channelId, w(function (err, metadata) { + Metadata.getMetadataRaw(Env, channelId, w(function (err, metadata) { if (err) { return void cb(err); } if (!Core.hasOwners(metadata)) { w.abort();