bitcoin/bitcoin — pull request #5443 by rustyrussell (2014-12-08 09:53:00+00:00)
Title: Serialization cleanup: use enum for nType arg.

It was almost faster to make it an enum than to make sure the value did what I guessed it did...