diff --git a/projects/sdk/src/lib/silo/utils.ts b/projects/sdk/src/lib/silo/utils.ts index 4aef4782a..64a024c6b 100644 --- a/projects/sdk/src/lib/silo/utils.ts +++ b/projects/sdk/src/lib/silo/utils.ts @@ -209,15 +209,9 @@ export function makeDepositObject( data: RawDepositData ): Deposit { // On-chain - let stem; + const stem = ethers.BigNumber.from(data.stem); const amount = token.fromBlockchain(data.amount.toString()); const bdv = Silo.sdk.tokens.BEAN.fromBlockchain(data.bdv.toString()); // Hack - // Hack - Remove additional digits added to stem of redeposited unripe tokens in migrateStem - if (token.isUnripe && !ethers.BigNumber.from(data.stem).isNegative()) { - stem = ethers.BigNumber.from(data.stem).div(1000000); - } else { - stem = ethers.BigNumber.from(data.stem); - } const isGerminating = stem.gte(data.germinatingStem); // Stalk