Update signing comment (#1509)
* Update signing comment * Extrinsic V4 CHANGELOG
This commit is contained in:
@@ -79,7 +79,7 @@ export default class ExtrinsicPayloadV4 extends Struct {
|
||||
// NOTE The `toU8a(true)` argument is absolutely critical - we don't want the method (Bytes)
|
||||
// to have the length prefix included. This means that the data-as-signed is un-decodable,
|
||||
// but is also doesn't need the extra information, only the pure data (and is not decoded)
|
||||
// ... The same applies to V1 & V1, if we have a V4, carry move this comment to latest
|
||||
// ... The same applies to V1..V3, if we have a V5, carry move this comment to latest
|
||||
return sign(signerPair, this.toU8a(true), { withType: true });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user