Skip to content

Commit

Permalink
Patch fix (#22)
Browse files Browse the repository at this point in the history
* Fix

* Add changeset
  • Loading branch information
ryangoree authored Feb 13, 2024
1 parent 869fb0b commit 6307e1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mighty-nails-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@delvtech/evm-client": patch
---

Fix the last fix...
2 changes: 1 addition & 1 deletion packages/evm-client/src/contract/utils/friendlyToArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function friendlyToArray<

// No parameters
if (!parameters.length) {
return [value] as AbiArrayType<TAbi, TItemType, TName, TParameterKind>;
return [] as AbiArrayType<TAbi, TItemType, TName, TParameterKind>;
}

const valueObject: Record<string, unknown> =
Expand Down

0 comments on commit 6307e1b

Please sign in to comment.