Error was because from solidity 0.3.6 upwards, contract's fallback function throws by default, if not implemented but used. with this you have to explicitly implement an empty fallback function in case you want to be able to send funds to a contract.
Error was because from solidity 0.3.6 upwards, contract's fallback function throws by default, if not implemented but used. with this you have to explicitly implement an empty fallback function in case you want to be able to send funds to a contract.