Avoid serializing payload again and again for various purposes. To sign it, we only need a hash. Some 2.4% gain in TPS could be achieved with this.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>