Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Broken Example #98

Closed
jwasinger opened this issue Jun 9, 2018 · 1 comment
Closed

Broken Example #98

jwasinger opened this issue Jun 9, 2018 · 1 comment

Comments

@jwasinger
Copy link
Contributor

jwasinger commented Jun 9, 2018

The code gives the following error:

assert.js:42
  throw new errors.AssertionError({
  ^

AssertionError [ERR_ASSERTION]: The field to must have byte length of 20
    at Transaction.setter [as to] (/home/jwasinger/projects/tmp/node_modules/ethereumjs-util/dist/index.js:658:9)
    at /home/jwasinger/projects/tmp/node_modules/ethereumjs-util/dist/index.js:708:63
    at Array.forEach (<anonymous>)
    at Object.exports.defineProperties (/home/jwasinger/projects/tmp/node_modules/ethereumjs-util/dist/index.js:707:14)
    at new Transaction (/home/jwasinger/projects/tmp/node_modules/ethereumjs-tx/es5/index.js:112:13)
    at Object.<anonymous> (/home/jwasinger/projects/tmp/tx.js:16:10)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
@holgerd77
Copy link
Member

Adressed in #107, will close.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants