Skip to content

Commit

Permalink
sdk/node: transactionFeeds use correct MAX_BLOCK_HEIGHT
Browse files Browse the repository at this point in the history
reported by @Tkwon123

backport of #875

Closes #879
  • Loading branch information
chrisgarvin authored and iampogo committed Apr 5, 2017
1 parent 7421957 commit fdadc9f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generated/rev/RevId.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

public final class RevId {
public final String Id = "1.1-stable/rev2757";
public final String Id = "1.1-stable/rev2758";
}
2 changes: 1 addition & 1 deletion generated/rev/revid.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package rev

const ID string = "1.1-stable/rev2757"
const ID string = "1.1-stable/rev2758"
2 changes: 1 addition & 1 deletion generated/rev/revid.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

export const rev_id = "1.1-stable/rev2757"
export const rev_id = "1.1-stable/rev2758"
2 changes: 1 addition & 1 deletion generated/rev/revid.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

module Chain::Rev
ID = "1.1-stable/rev2757".freeze
ID = "1.1-stable/rev2758".freeze
end
7 changes: 6 additions & 1 deletion sdk/node/src/api/transactionFeeds.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
const shared = require('../shared')

const uuid = require('uuid')
const MAX_BLOCK_HEIGHT = (2 * 63) - 1

/**
* Hardcoding value of (2 ** 63) - 1 since JavaScript rounds this value up,
* which causes issues when attempting to query TransactionFeed.
*/
const MAX_BLOCK_HEIGHT = '9223372036854775807'

/**
* @class
Expand Down

0 comments on commit fdadc9f

Please sign in to comment.