@polkadot/trie-hash
Advanced tools
Changelog
1.6.1 Oct 24, 2019
Changes:
pair.sign(message)
now takes an optional second options?: SignOptions
parameter, where SignOptions
is currently defined as { withType: boolean }
. Here withType
instructs the signing to prepend the type of signature (ed2551, sr25519 or ecdsa). This is used for the new Polkadot/Substrate MultiSignature format.