fix formatting of new example

bsip53
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
1 changed files with 36 additions and 36 deletions

View File

@ -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