Update lib/Mojocoin/Protocol.pm

A switch block makes more sense.