Adjust extrinsic inspect for signed/unsigned (#4830)

This commit is contained in:
Jaco
2022-05-17 08:54:41 +03:00
committed by GitHub
parent ef54cfb29b
commit c60c1efd46
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Changes:
- Adjust extrinsic inspect for signed/unsigned
## 8.4.2 May 15, 2022
Changes:
+3 -1
View File
@@ -269,7 +269,9 @@ export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBa
const encoded = u8aConcat(...this.toU8aInner());
return {
inner: this.inner.inspect().inner,
inner: this.isSigned
? this.inner.inspect().inner
: this.inner.method.inspect().inner,
outer: [compactToU8a(encoded.length), new Uint8Array([this.version])]
};
}