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

linting fix

This commit is contained in:
Matthias Kretschmann 2017-06-13 12:01:29 +02:00
parent fd15b0821c
commit 955a5af4fd
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -22,8 +22,8 @@ export default function ccJsonLoad(conditionJson) {
if (conditionJson.type_id === 2) {
fulfillment = new cc.ThresholdSha256()
fulfillment.threshold = conditionJson.threshold
conditionJson.subfulfillments.forEach((subfulfillment) => {
subfulfillment = ccJsonLoad(subfulfillment)
conditionJson.subfulfillments.forEach((subfulfillmentJson) => {
const subfulfillment = ccJsonLoad(subfulfillmentJson)
if ('getConditionUri' in subfulfillment) {
fulfillment.addSubfulfillment(subfulfillment)
} else if ('serializeUri' in subfulfillment) {