Skip to content

Error calling getArbitrarySignature (TypeError: t(...)[u] is not a function) #172

@jurosh

Description

@jurosh

As per docs here https://get-scatter.com/docs/api-request-arbitrary-signature

Scatter should be able to get signature like:

// getScatterEosInstance is getting eos instance based on network...
const scatterInstance = getScatterEosInstance([
    { actor: makerAccount, permission: 'active' }
  ]);
const scattertSignature = await scatterInstance.getArbitrarySignature(
    makerPublicKey,
    'test', // orderBuffer.toString(),
    'Order signing',
    false
  );

Instead promise is rejected with reason:

"TypeError: t(...)[u] is not a function
    at Promise (chrome-extension://ammjpmhgckkpcamddpolhchgomcojkle/inject.js:40:270202)
    at new Promise (<anonymous>)
    at Proxy.n (chrome-extension://ammjpmhgckkpcamddpolhchgomcojkle/inject.js:40:270118)
    at _callee$ (webpack-internal:///./src/client/eos/trading.js:100:49)
    at tryCatch (webpack-internal:///./node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (webpack-internal:///./node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (webpack-internal:///./node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (webpack-internal:///./src/client/eos/trading.js:217:191)
    at eval (webpack-internal:///./src/client/eos/trading.js:217:437)
    at new Promise (<anonymous>)
    at eval (webpack-internal:///./src/client/eos/trading.js:217:99)
    at signOrderWithScatter (webpack-internal:///./src/client/eos/trading.js:137:18)
    at <anonymous>:1:1"

Using scatter extension 6.1.10 on Chrome (Linux)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions