Skip to content

Commit

Permalink
BREAKING, removed autoconverting of topics in whisper messages
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Nov 24, 2015
1 parent 1f91f6b commit 2c7db81
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
12 changes: 6 additions & 6 deletions dist/web3-light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/web3-light.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/web3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web3.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/web3.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions lib/web3/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ var inputPostFormatter = function(post) {
}

// format the following options
post.topics = post.topics.map(function(topic){
return utils.fromUtf8(topic);
});
// post.topics = post.topics.map(function(topic){
// return utils.fromUtf8(topic);
// });

return post;
};
Expand Down Expand Up @@ -251,9 +251,9 @@ var outputPostFormatter = function(post){
if (!post.topics) {
post.topics = [];
}
post.topics = post.topics.map(function(topic){
return utils.toAscii(topic);
});
// post.topics = post.topics.map(function(topic){
// return utils.toAscii(topic);
// });

return post;
};
Expand Down

0 comments on commit 2c7db81

Please sign in to comment.