Fix a crash when attempting to sign a raw transaction with a zero privkey.
Merge branch 'fix-zero-privkey-crash' into mystuff