Skip to content

Commit 80eba8b

Browse files
committed
refactor: address code review issues
1 parent c22188f commit 80eba8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eip-5792-middleware/src/hooks/processSendCalls.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ function validateAuxFundsSupportAndRequiredAssets({
512512
if (!isSupportedAccount) {
513513
throw new JsonRpcError(
514514
EIP5792ErrorCode.UnsupportedNonOptionalCapability,
515-
`Unsupported non-optional capabilities: ${SupportedCapabilities.AuxiliaryFunds}`,
515+
`Unsupported non-optional capability: ${SupportedCapabilities.AuxiliaryFunds}`,
516516
);
517517
}
518518

@@ -596,7 +596,7 @@ function dedupeAuxiliaryFundsRequiredAssets(sendCalls: SendCallsPayload): void {
596596

597597
return {
598598
...group[0],
599-
amount: add0x(totalAmount.toString(16)) as Hex,
599+
amount: add0x(totalAmount.toString(16)),
600600
};
601601
});
602602

0 commit comments

Comments
 (0)