forked from tornado-packages/tornado-core
tornado-core 1.0.11
fixed encryptedNote filtering bug
This commit is contained in:
parent
48bb7aed82
commit
29744cfce4
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -3153,7 +3153,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
|
|||||||
return __async$8(this, null, function* () {
|
return __async$8(this, null, function* () {
|
||||||
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
||||||
const { encryptedNote } = args;
|
const { encryptedNote } = args;
|
||||||
if (encryptedNote) {
|
if (encryptedNote && encryptedNote !== "0x") {
|
||||||
const eventObjects = {
|
const eventObjects = {
|
||||||
blockNumber,
|
blockNumber,
|
||||||
logIndex,
|
logIndex,
|
||||||
|
2
dist/index.mjs
vendored
2
dist/index.mjs
vendored
@ -3132,7 +3132,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
|
|||||||
return __async$8(this, null, function* () {
|
return __async$8(this, null, function* () {
|
||||||
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
||||||
const { encryptedNote } = args;
|
const { encryptedNote } = args;
|
||||||
if (encryptedNote) {
|
if (encryptedNote && encryptedNote !== "0x") {
|
||||||
const eventObjects = {
|
const eventObjects = {
|
||||||
blockNumber,
|
blockNumber,
|
||||||
logIndex,
|
logIndex,
|
||||||
|
2
dist/index.umd.js
vendored
2
dist/index.umd.js
vendored
@ -59501,7 +59501,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
|
|||||||
return __async(this, null, function* () {
|
return __async(this, null, function* () {
|
||||||
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
||||||
const { encryptedNote } = args;
|
const { encryptedNote } = args;
|
||||||
if (encryptedNote) {
|
if (encryptedNote && encryptedNote !== "0x") {
|
||||||
const eventObjects = {
|
const eventObjects = {
|
||||||
blockNumber,
|
blockNumber,
|
||||||
logIndex,
|
logIndex,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tornado/core",
|
"name": "@tornado/core",
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"description": "An SDK for building applications on top of Privacy Pools",
|
"description": "An SDK for building applications on top of Privacy Pools",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
@ -575,7 +575,7 @@ export class BaseEncryptedNotesService extends BaseEventsService<EncryptedNotesE
|
|||||||
.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
|
||||||
const { encryptedNote } = args;
|
const { encryptedNote } = args;
|
||||||
|
|
||||||
if (encryptedNote) {
|
if (encryptedNote && encryptedNote !== '0x') {
|
||||||
const eventObjects = {
|
const eventObjects = {
|
||||||
blockNumber,
|
blockNumber,
|
||||||
logIndex,
|
logIndex,
|
||||||
|
Loading…
Reference in New Issue
Block a user