publish: 🐛 Fix privatesend tx display on static blocks

generated from commit bb7b249f6293a60fe6dd62f73cf65c321cdc2587
This commit is contained in:
Joshua Seigler 2019-04-07 23:44:59 -04:00
parent c107040e1d
commit e6f103ad01
2 changed files with 8 additions and 2 deletions

View file

@ -19048,7 +19048,13 @@ function () {
key: "isPrivateSend",
value: function isPrivateSend(components) {
return components.every(function (i) {
return _constants.PSDENOMINATIONS.includes(Object.values(i)[0]);
var value = Object.values(i)[0];
if (typeof value == 'string') {
value *= 10000000;
}
return _constants.PSDENOMINATIONS.includes(value);
});
}
}]);