Adjust extrinsic inspect for signed/unsigned (#4830)
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# CHANGELOG
|
||||
|
||||
## master
|
||||
|
||||
Changes:
|
||||
|
||||
- Adjust extrinsic inspect for signed/unsigned
|
||||
|
||||
|
||||
## 8.4.2 May 15, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
@@ -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])]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user