primecoin/primecoin — pull request #18 by hg5fm (2013-09-17 11:40:24+00:00)
Title: Fix block submission using getwork RPC command

Passing the prime chain multiplier in "getwork" RPC command was fixed in
order to be usable for block submission.

Passing the multiplier as a CBigNum is similar to what is used in "submitblock" command except that getwork uses swapped endian.
It would be helpful to have this fix in the main fork because compared to "submitblock/getblocktemplate", using "getwork" simplifies the code of the miner, not requiring to build the vtx for the block.