Fix testnet.
Fix PoS staking calculations