diff --git a/packages/lib/web3js-common/src/stakeAccount.ts b/packages/lib/web3js-common/src/stakeAccount.ts index 5446554..4cef3bb 100644 --- a/packages/lib/web3js-common/src/stakeAccount.ts +++ b/packages/lib/web3js-common/src/stakeAccount.ts @@ -81,11 +81,7 @@ function isAccountInfoParsedData( if (data === null) { return false } - return ( - data.data && - !(data.data instanceof Buffer) && - ('parsed' in data.data) - ) + return data.data && !(data.data instanceof Buffer) && 'parsed' in data.data } export async function getStakeAccount(