fix formatting of new example

This commit is contained in:
Stefan Schießl 2018-07-30 15:21:09 +02:00 committed by GitHub
parent 63f6ddc6e3
commit b7282a531f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,54 +191,54 @@ cut_out =[
] ]
either_list = either_list =
[ [
{
function: attribute_assert,
argument: amount,
data: [
{ {
function: attribute_assert, function: lt,
argument: amount, argument: amount,
data: [ data: 10000
{
function: lt,
argument: amount,
data: 10000
},
{
function: any,
argument: asset_id,
data: [ asset X ]
}
]
}, },
{ {
function: any, function: any,
argument: to, argument: asset_id,
data: [ account C ] data: [ asset X ]
} }
] ]
},
{
function: any,
argument: to,
data: [ account C ]
}
]
or_list = or_list =
[ [
{
function: attribute_assert,
argument: amount,
data: [
{ {
function: attribute_assert, function: le,
argument: amount, argument: amount,
data: [ data: 20000
{
function: le,
argument: amount,
data: 20000
},
{
function: any,
argument: asset_id,
data: [ asset Y ]
}
]
}, },
{ {
function: any, function: any,
argument: to, argument: asset_id,
data: [ account C ] 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 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 - it sends less than 10000 of asset X to account C