From eb0eacd404711d4d01775781dea21c316894d47f Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 24 Feb 2021 15:22:44 -0500 Subject: [PATCH] add wrapper for getnamesintrie -used for verifying db state against lbrycrd --- lbry/wallet/server/daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lbry/wallet/server/daemon.py b/lbry/wallet/server/daemon.py index abcfdf71a..123f17f3b 100644 --- a/lbry/wallet/server/daemon.py +++ b/lbry/wallet/server/daemon.py @@ -364,6 +364,11 @@ class LBCDaemon(Daemon): '''Given a name, returns the winning claim value.''' return await self._send_single('getvalueforname', (name,)) + @handles_errors + async def getnamesintrie(self): + '''Given a name, returns the winning claim value.''' + return await self._send_single('getnamesintrie') + @handles_errors async def claimname(self, name, hexvalue, amount): '''Claim a name, used for functional tests only.'''