mirror of https://github.com/status-im/web3.js.git
quick_fix
This commit is contained in:
parent
ede4724442
commit
8c3492b656
|
@ -3781,7 +3781,7 @@ var outputPostFormatter = function(post){
|
|||
post.ttl = utils.toDecimal(post.ttl);
|
||||
post.workProved = utils.toDecimal(post.workProved);
|
||||
post.payloadRaw = post.payload;
|
||||
post.payload = utils.toUtf8(post.payload);
|
||||
post.payload = utils.toAscii(post.payload);
|
||||
|
||||
if (utils.isJson(post.payload)) {
|
||||
post.payload = JSON.parse(post.payload);
|
||||
|
@ -3792,7 +3792,7 @@ var outputPostFormatter = function(post){
|
|||
post.topics = [];
|
||||
}
|
||||
post.topics = post.topics.map(function(topic){
|
||||
return utils.toUtf8(topic);
|
||||
return utils.toAscii(topic);
|
||||
});
|
||||
|
||||
return post;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3781,7 +3781,7 @@ var outputPostFormatter = function(post){
|
|||
post.ttl = utils.toDecimal(post.ttl);
|
||||
post.workProved = utils.toDecimal(post.workProved);
|
||||
post.payloadRaw = post.payload;
|
||||
post.payload = utils.toUtf8(post.payload);
|
||||
post.payload = utils.toAscii(post.payload);
|
||||
|
||||
if (utils.isJson(post.payload)) {
|
||||
post.payload = JSON.parse(post.payload);
|
||||
|
@ -3792,7 +3792,7 @@ var outputPostFormatter = function(post){
|
|||
post.topics = [];
|
||||
}
|
||||
post.topics = post.topics.map(function(topic){
|
||||
return utils.toUtf8(topic);
|
||||
return utils.toAscii(topic);
|
||||
});
|
||||
|
||||
return post;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -241,7 +241,7 @@ var outputPostFormatter = function(post){
|
|||
post.ttl = utils.toDecimal(post.ttl);
|
||||
post.workProved = utils.toDecimal(post.workProved);
|
||||
post.payloadRaw = post.payload;
|
||||
post.payload = utils.toUtf8(post.payload);
|
||||
post.payload = utils.toAscii(post.payload);
|
||||
|
||||
if (utils.isJson(post.payload)) {
|
||||
post.payload = JSON.parse(post.payload);
|
||||
|
@ -252,7 +252,7 @@ var outputPostFormatter = function(post){
|
|||
post.topics = [];
|
||||
}
|
||||
post.topics = post.topics.map(function(topic){
|
||||
return utils.toUtf8(topic);
|
||||
return utils.toAscii(topic);
|
||||
});
|
||||
|
||||
return post;
|
||||
|
|
Loading…
Reference in New Issue