Skip to content

Commit

Permalink
Fix typo (naming).
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Oct 26, 2023
1 parent 8e66acc commit d347ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/smartcontracts/argSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ interface IParameterDefinition {

// TODO: perhaps move default construction options to a factory (ArgSerializerFactory), instead of referencing them in the constructor
// (postpone as much as possible, breaking change)
const defaultArgSerializerrOptions: IArgSerializerOptions = {
const defaultArgSerializerOptions: IArgSerializerOptions = {
codec: new BinaryCodec()
};

export class ArgSerializer {
codec: ICodec;

constructor(options?: IArgSerializerOptions) {
options = { ...defaultArgSerializerrOptions, ...options };
options = { ...defaultArgSerializerOptions, ...options };
this.codec = options.codec;
}

Expand Down

0 comments on commit d347ef1

Please sign in to comment.