Skip to content

Commit

Permalink
Update xpring-client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
keefertaylor authored Nov 19, 2019
1 parent 95ba475 commit ad5c0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpring-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class XpringClient {
async accountInfo => {
return this.getLastValidatedLedgerSequence().then(
async ledgerSequence => {
if (accountInfo.getSequence() == undefined) {
if (accountInfo.getSequence() === undefined) {
return Promise.reject(
new Error(XpringClientErrorMessages.malformedResponse)
);
Expand Down

0 comments on commit ad5c0b5

Please sign in to comment.