- // Thierry - march 30 2007
- // using $adm->error() is broken with begin/commit style
- // this is because error() uses last item in trace and checks for ['errors']
- // when using begin/commit we do run internal_call BUT internal_call checks for
- // multicall's result globally, not individual results, so ['errors'] comes empty
- // I considered hacking internal_call
- // to *NOT* maintain this->trace at all when invoked with multicall
- // but it is too complex to get all values right
- // so let's go for the hacky way, and just record individual errors at the right place
+ // Thierry - march 30 2007
+ // using $adm->error() is broken with begin/commit style
+ // this is because error() uses last item in trace and checks for ['errors']
+ // when using begin/commit we do run internal_call BUT internal_call checks for
+ // multicall's result globally, not individual results, so ['errors'] comes empty
+ // I considered hacking internal_call
+ // to *NOT* maintain this->trace at all when invoked with multicall
+ // but it is too complex to get all values right
+ // so let's go for the hacky way, and just record individual errors at the right place