Skip to content

Commit

Permalink
Merge the develop branch to the master branch, preparation to v1.1.1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
akolotov authored Nov 19, 2019
2 parents f2a6a64 + 98e0f8e commit 303b02f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion oracle/src/events/processAMBCollectedSignatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ function processCollectedSignaturesBuilder(config) {
logger.info(`Processing CollectedSignatures ${colSignature.transactionHash}`)
const message = await homeBridge.methods.message(messageHash).call()

const requiredSignatures = new Array(NumberOfCollectedSignatures).fill(0)
logger.debug({ NumberOfCollectedSignatures }, 'Number of signatures to get')

const requiredSignatures = []
requiredSignatures.length = NumberOfCollectedSignatures
requiredSignatures.fill(0)

const signaturesArray = []
const [v, r, s] = [[], [], []]
Expand Down
6 changes: 5 additions & 1 deletion oracle/src/events/processCollectedSignatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ function processCollectedSignaturesBuilder(config) {
logger.info(`Processing CollectedSignatures ${colSignature.transactionHash}`)
const message = await homeBridge.methods.message(messageHash).call()

const requiredSignatures = new Array(NumberOfCollectedSignatures).fill(0)
logger.debug({ NumberOfCollectedSignatures }, 'Number of signatures to get')

const requiredSignatures = []
requiredSignatures.length = NumberOfCollectedSignatures
requiredSignatures.fill(0)

const [v, r, s] = [[], [], []]
logger.debug('Getting message signatures')
Expand Down

0 comments on commit 303b02f

Please sign in to comment.