fixing examples after protocol update
Merge pull request #1583 from clebertsuconic/master-fix

fixing examples after protocol update