Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion typescript/swap-vm/src/swap-vm/maker-traits.ts

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2ef3d848-2d5c-49c4-8dad-ad2c84655ade

Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class MakerTraits {
const { data, offsets } = MakerTraits.HOOKS.reduce(
(acc, hookName, i) => {
const hook = this[hookName]
const hasTarget = this.hasTargetForHook(hookName)
const hasTarget = this.hasTargetForHook(hookName, maker)
const encoded = hook && hasTarget ? hook.encode() : hook?.data || HexString.EMPTY

acc.sum += BigInt(encoded.bytesCount())
Expand Down
Loading