Transaction signing payload is hashed first (#1624)

* Transaction signing payload is hashed first

* Fix tests

* Rebuild wasm

* Fix tests

* Only take payload hash when payload.len > 256 bytes.

* Fix tests
This commit is contained in:
Gav Wood
2019-01-31 18:39:20 +01:00
committed by GitHub
parent 4bcc8eda41
commit a58de5d0ff
6 changed files with 76 additions and 43 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("node"),
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
spec_version: 17,
impl_version: 17,
spec_version: 18,
impl_version: 18,
apis: RUNTIME_API_VERSIONS,
};