Skip to content

Commit

Permalink
use isMessageEmpty in isFillOrSlowFillRequestMessageEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Jan 24, 2025
1 parent 2366769 commit e6f4996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@across-protocol/sdk",
"author": "UMA Team",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"license": "AGPL-3.0",
"homepage": "https://docs.across.to/reference/sdk",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DepositUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function isMessageEmpty(message = EMPTY_MESSAGE): boolean {
}

export function isFillOrSlowFillRequestMessageEmpty(message: string): boolean {
return message === EMPTY_MESSAGE_HASH;
return isMessageEmpty(message) || message === EMPTY_MESSAGE_HASH;
}

/**
Expand Down

0 comments on commit e6f4996

Please sign in to comment.