Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
asset-s: consider falsey takerAddress as absent
Browse files Browse the repository at this point in the history
Addresses review comment #2555 (comment)
  • Loading branch information
feuGeneA committed Apr 21, 2020
1 parent ba2ac6a commit 83289bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/asset-swapper/src/utils/quote_requestor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function assertTakerAddressOrThrow(takerAddress: string | undefined): void {
takerAddress === undefined ||
takerAddress === '' ||
takerAddress === '0x' ||
!takerAddress ||
takerAddress === constants.NULL_ADDRESS
) {
throw new Error('RFQ-T requires the presence of a taker address');
Expand Down

0 comments on commit 83289bc

Please sign in to comment.