From b7282a531f81a3aff216882334ae612556f14764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Schie=C3=9Fl?= Date: Mon, 30 Jul 2018 15:21:09 +0200 Subject: [PATCH] fix formatting of new example --- bsip-0040.md | 72 ++++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/bsip-0040.md b/bsip-0040.md index 13ff0b2..beb3b84 100644 --- a/bsip-0040.md +++ b/bsip-0040.md @@ -191,54 +191,54 @@ cut_out =[ ] either_list = - [ +[ + { + function: attribute_assert, + argument: amount, + data: [ { - function: attribute_assert, - argument: amount, - data: [ - { - function: lt, - argument: amount, - data: 10000 - }, - { - function: any, - argument: asset_id, - data: [ asset X ] - } - ] + function: lt, + argument: amount, + data: 10000 }, { - function: any, - argument: to, - data: [ account C ] + function: any, + argument: asset_id, + data: [ asset X ] } ] + }, + { + function: any, + argument: to, + data: [ account C ] + } +] or_list = - [ +[ + { + function: attribute_assert, + argument: amount, + data: [ { - function: attribute_assert, - argument: amount, - data: [ - { - function: le, - argument: amount, - data: 20000 - }, - { - function: any, - argument: asset_id, - data: [ asset Y ] - } - ] + function: le, + argument: amount, + data: 20000 }, { - function: any, - argument: to, - data: [ account C ] + function: any, + argument: asset_id, + data: [ asset Y ] } ] + }, + { + function: any, + argument: to, + data: [ account C ] + } +] ``` That has the consquence now that a transfer transaction sending funds away from A can be signed with with active authority of account B if - it sends less than 10000 of asset X to account C