Fix XpubVerbose option. C# can't cast bool to int.

I've playing with XPUB verbose option and noticed that publisher crashes in runtime. Problem was in invalid cast.