Skip to content

Commit

Permalink
Fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Feb 1, 2025
1 parent 7313f0e commit 4dd905e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/archethic/contracts/wasm/contract.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule Archethic.Contracts.WasmContract do
@doc """
Validate WASM contract
"""
@spec validate_and_parse(t()) :: {:ok, t()} | {:error, String.t()}
@spec validate_and_parse(contract :: Contract.t()) :: {:ok, t()} | {:error, String.t()}
def validate_and_parse(%Contract{manifest: manifest, bytecode: bytecode}) do
uncompressed_bytes = :zlib.unzip(bytecode)

Expand Down

0 comments on commit 4dd905e

Please sign in to comment.