diff --git a/package-lock.json b/package-lock.json index b92b1e8a..afb67f82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "simple-staking", - "version": "0.3.3", + "version": "0.3.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "simple-staking", - "version": "0.3.3", + "version": "0.3.4", "dependencies": { "@babylonlabs-io/btc-staking-ts": "0.3.0", "@bitcoin-js/tiny-secp256k1-asmjs": "2.2.3", diff --git a/package.json b/package.json index 61111947..f744a64e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-staking", - "version": "0.3.3", + "version": "0.3.4", "private": true, "scripts": { "dev": "next dev", diff --git a/src/app/components/Staking/Staking.tsx b/src/app/components/Staking/Staking.tsx index 3a1d3de8..16629d66 100644 --- a/src/app/components/Staking/Staking.tsx +++ b/src/app/components/Staking/Staking.tsx @@ -158,7 +158,7 @@ export const Staking: React.FC = ({ if (stakingCapHeight) { setOverflow({ isHeightCap: true, - overTheCapRange: nextBlockHeight >= stakingCapHeight, + overTheCapRange: nextBlockHeight > stakingCapHeight, /* When btc height is approching the staking cap height, there is higher chance of overflow due to tx not being included in the next few blocks on time