Update bsip-0040.md

This commit is contained in:
Stefan Schießl 2018-08-03 08:26:15 +02:00 committed by GitHub
parent 7d1468e016
commit d9466f2ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ Stateless assert, only for dictionary type objects. The data is a list of restri
When a signed transaction arrives and before the backend evaluates if all necessary authorities are present through the signatures, do the following: When a signed transaction arrives and before the backend evaluates if all necessary authorities are present through the signatures, do the following:
- iterate over `required accounts` - iterate over `required accounts`
- iterate over all `operations` (child operations of proposal are not iterated, only the proposal) within the transactions that require the active authority of this account - iterate over all `operations` (child operations of proposal are not included) within the transactions that require the active authority of this account
- iterate the `custom_active_authorities` of this account, and if it matches, remember that and continue with next `operation` - iterate the `custom_active_authorities` of this account, and if it matches, remember that and continue with next `operation`
- if a `custom active authority` match was found for every operation in the loop, grant the `active authority` of this account - if a `custom active authority` match was found for every operation in the loop, grant the `active authority` of this account