pokt-network / eztz

Tezos JS Library
MIT License
0 stars 0 forks source link

Can't access Crypto class #1

Open jeremybeal11 opened 5 years ago

jeremybeal11 commented 5 years ago

When calling eztz_pocket.crypto.extractKeys("edsk38wgA9MEezJSjs6K1r7bA3JtVpt2ysn6jMizAFrGt9Qqsruw2b") it returns an error, but when you look inside /eztz/src/main.js the method exposed in the class(see below).

After testing eztz.crypto.extractKeys I encountered the same issue. This could be a bug in the EZTZ library. Still debugging and will let you know if I found any more issues.


eztz_pocket = {
  library: library,
  prefix: prefix,
  watermark: watermark,
  utility: utility,
  crypto: crypto,
  node: pocket_node,
  rpc: pocket_rpc,
  contract: contract,
  trezor: trezor,
  tezos : tezos
}; ```
jeremybeal11 commented 5 years ago

The error I was getting was: eztz_pocket.crypto.extractKeys is not a function