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

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xJeneKx authored and ukstv committed Nov 3, 2017
1 parent 81303b7 commit eccd33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default class Sender {
buyMeta (options: any): any {
let uri = 'http://localhost:3000/paid/erc20'
let price = new BigNumber(options.price)
if(price.isNaN() || price.isFinite() || price.isNegative()) return Promise.reject(new Error('Price is incorrect'));
if (price.isNaN() || !price.isFinite() || price.isNegative()) return Promise.reject(new Error('Price is incorrect'))
let paymentRequired = new PaymentRequired(
options.receiver,
price,
Expand Down

0 comments on commit eccd33e

Please sign in to comment.