optimized deserialize and modified assert for multisig
corrected deserialize
Merge pull request #906 from Tafelpoot/tx_optimize

optimized deserialize and modified assert for multisig