core: fix send_to_tradepile (#4)