Skip to content

Commit

Permalink
docs: fix missing array square brackets for encodeData
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed May 24, 2023
1 parent 9e075c4 commit c798d85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/classes/ERC725.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,12 @@ myErc725.encodeData([
```

```javascript
myErc725.encodeData({
keyName: 'LSP1UniversalReceiverDelegate',
value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
});
myErc725.encodeData([
{
keyName: 'LSP1UniversalReceiverDelegate',
value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
},
]);
/**
{
keys: ['0x0cfc51aec37c55a4d0b1a65c6255c4bf2fbdf6277f3cc0730c45b828b6db8b47'],
Expand Down

0 comments on commit c798d85

Please sign in to comment.