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) ) }