Skip to content

Commit

Permalink
fix params encoding typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ERussel committed Jun 25, 2024
1 parent f51f952 commit b0c45d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SubstrateSdk/Classes/Extrinsic/ExtrinsicBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public class ExtrinsicBuilder {
self.nonce = 0
self.calls = []
}

init(memo: ExtrinsicBuilderMemo) {
self.specVersion = memo.specVersion
self.transactionVersion = memo.transactionVersion
Expand Down Expand Up @@ -452,7 +452,7 @@ extension ExtrinsicBuilder: ExtrinsicBuilderProtocol {

let includedInSignatureExtraEncoder = encoder.newEncoder()
try appendAdditionalSigned(encodingBy: includedInSignatureExtraEncoder, metadata: metadata)
let encodedSignatureExtra = try includedInExtrinsicExtraEncoder.encode()
let encodedSignatureExtra = try includedInSignatureExtraEncoder.encode()

return ExtrinsicSignatureParams(
encodedCall: encodedCall,
Expand Down

0 comments on commit b0c45d8

Please sign in to comment.