From 2de5360ad74d5e84ab88a951becdd763dfe231a9 Mon Sep 17 00:00:00 2001 From: Alexandru Stefan Date: Fri, 13 Dec 2024 17:47:08 +0200 Subject: [PATCH] fix: property check --- packages/lib/web3js-common/src/stakeAccount.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/web3js-common/src/stakeAccount.ts b/packages/lib/web3js-common/src/stakeAccount.ts index 550d489..5446554 100644 --- a/packages/lib/web3js-common/src/stakeAccount.ts +++ b/packages/lib/web3js-common/src/stakeAccount.ts @@ -84,7 +84,7 @@ function isAccountInfoParsedData( return ( data.data && !(data.data instanceof Buffer) && - data.data.parsed !== undefined + ('parsed' in data.data) ) }