When sending tokens from the contract deployer to another address, the holder count should equal 2 as the owner and the other address should both be considered holders. _addHolder
only gets called once as the contract owner is never initialized as a holder. We would expect the contract owner to get added by this action if they werent already but it is ignored from by the modifier holder_calculate
.
The fix is to ensure the contract deployer gets added as a holder when initializing the supply
