sensor: fixes for proof-of-work, test passes now


git-svn-id: https://gnunet.org/svn/gnunet@34179 140774ce-b5e7-0310-ab8b-a85725594a96