mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-25 20:00:19 +01:00
linting fix
This commit is contained in:
parent
fd15b0821c
commit
955a5af4fd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user