hoprnet / hopr-core

Main repository of HOPR - this is all you need to run a node on the HOPR network!
https://hoprnet.org
GNU General Public License v3.0
14 stars 5 forks source link

error 'Invalid typed array length: 130' #18

Closed nionis closed 4 years ago

nionis commented 4 years ago

openChannels:

> crawl
Crawling results:
    contacted nodes:: 
        16Uiu2HAmNqLm83bwMq9KQEZEWHcbsHQfBkbpZx4eVSoDG4Mp6yfX
        16Uiu2HAmVbdbHbu7ziqzwV8xvdrtSRouzuFb53wEukQmisTi8W3M
        16Uiu2HAkvWBSwmEiH9imn3LNypbyF6ob6bn5yZgcjoxf21Vv1v2f
        16Uiu2HAkzuoWfxBgsgBCr8xqpkjs1RAmtDPxafCUAcbBEonnVQ65
        16Uiu2HAmRfR1Qus69Lhn4t9gCkHjdsrWHpnwJwN7Dbjw197rZLqk
    new nodes: 4 nodes
    total: 4 nodes
> openChannels

/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/extended/uint8ArrayE.js:4
class Uint8ArrayE extends Uint8Array {
^
RangeError: Invalid typed array length: 130
    at new Uint8Array (<anonymous>)
    at new Uint8ArrayE (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/extended/uint8ArrayE.js:4:1)
    at new SignedChannel (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/signedChannel.js:14:13)
    at ReadStream.<anonymous> (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/channel/index.js:390:39)
    at ReadStream.emit (events.js:210:5)
    at ReadStream.EventEmitter.emit (domain.js:475:20)
    at addChunk (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:298:12)
    at readableAddChunk (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:280:11)
    at ReadStream.Readable.push (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:241:10)
    at /c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/index.js:35:12
    at /c/Users/stive/Documents/work/hopr/hopr-core/node_modules/leveldown/node_modules/abstract-leveldown/abstract-iterator.js:33:14
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

send:

> send 16Uiu2HAkvWBSwmEiH9imn3LNypbyF6ob6bn5yZgcjoxf21Vv1v2f
Sending message to 16Uiu2HAkvWBSwmEiH9imn3LNypbyF6ob6bn5yZgcjoxf21Vv1v2f ...
Please select the intermediate nodes: (hint use tabCompletion)

/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/extended/uint8ArrayE.js:4
class Uint8ArrayE extends Uint8Array {
^
RangeError: Invalid typed array length: 130
    at new Uint8Array (<anonymous>)
    at new Uint8ArrayE (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/extended/uint8ArrayE.js:4:1)
    at new SignedChannel (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/types/signedChannel.js:14:13)
    at ReadStream.<anonymous> (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/@hoprnet/hopr-core-ethereum/lib/channel/index.js:390:39)
    at ReadStream.emit (events.js:210:5)
    at ReadStream.EventEmitter.emit (domain.js:475:20)
    at addChunk (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:298:12)
    at readableAddChunk (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:280:11)
    at ReadStream.Readable.push (/c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/node_modules/readable-stream/lib/_stream_readable.js:241:10)
    at /c/Users/stive/Documents/work/hopr/hopr-core/node_modules/level-iterator-stream/index.js:35:12
    at /c/Users/stive/Documents/work/hopr/hopr-core/node_modules/leveldown/node_modules/abstract-leveldown/abstract-iterator.js:33:14
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.