Skip to content

Commit

Permalink
revert extrinsic signer type
Browse files Browse the repository at this point in the history
  • Loading branch information
freehere107 committed Jan 5, 2024
1 parent 5c4d5e0 commit 024c871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extrinsic.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (e *ExtrinsicDecoder) Process() {
if e.VersionInfo == "04" || e.VersionInfo == "84" {
if e.ContainsTransaction {
// Address
result.Signer = e.ProcessAndUpdateData(utiles.TrueOrElse(e.Metadata.MetadataVersion >= 14 && scaleType.HasReg("ExtrinsicSigner"), "ExtrinsicSigner", "multiAddress"))
result.Signer = e.ProcessAndUpdateData(utiles.TrueOrElse(e.Metadata.MetadataVersion >= 14 && scaleType.HasReg("ExtrinsicSigner"), "ExtrinsicSigner", "Address"))
switch v := result.Signer.(type) {
case string:
e.Address = v
Expand Down

0 comments on commit 024c871

Please sign in to comment.