BitShares/bitshares_toolkit — pull request #891 by drltc (2014-10-29 17:41:12+00:00)
Title: Check that master key is properly decrypted

The code that encrypts the master key decrypts it again to check for problems, but doesn't do anything with the decrypted key. So the only problem the check can find is if the decryption throws an exception.

This patch adds `FC_ASSERT` to check the decrypted key is the same as the original.

This compiles, but I haven't actually tested it yet.