Yam Finance, the newest DeFi yield farming sensation, has a smart-contract bug that will require an emergency community vote to correct.