1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 01:36:56 +01:00

chore: update lint rules

This commit is contained in:
getlarge 2022-02-15 08:07:38 +01:00
parent 38819a5934
commit dc353ee5bc
No known key found for this signature in database
GPG Key ID: E4E13243600F9566
2 changed files with 3 additions and 2 deletions

View File

@ -193,7 +193,7 @@ module.exports = {
], ],
}, },
], ],
'import/no-extraneous-dependencies': ['error', { 'devDependencies': true }],
/** /**
* ES6-specific Issues * ES6-specific Issues
* (http://eslint.org/docs/rules/#ecmascript-6) * (http://eslint.org/docs/rules/#ecmascript-6)

View File

@ -92,7 +92,8 @@ test('Fulfillment correctly formed', t => {
const msgHash = sha256Hash(msgUniqueFulfillment) const msgHash = sha256Hash(msgUniqueFulfillment)
t.truthy(validateFulfillment( t.truthy(validateFulfillment(
txSigned.inputs[0].fulfillment, txCreate.outputs[0].condition.uri, txSigned.inputs[0].fulfillment,
txCreate.outputs[0].condition.uri,
Buffer.from(msgHash, 'hex') Buffer.from(msgHash, 'hex')
)) ))
}) })