When I try to call eos.transfer(..) I'm getting this error
{ message: 'assertion failure with message: unable to find key',
file: 'wasm_interface.cpp',
line_number: 930,
method: 'eosio_assert' }
That is the code:
Eos = require('eosjs')
config = {
chainId: '038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca',
keyProvider: ['key1','key2'],
httpEndpoint: 'http://dev.cryptolions.io:38888',
expireInSeconds: 60,
broadcast: true,
verbose: false,
sign: true
}
eos = Eos(config)
eos.transfer('token', 'wallet', '1.0000 TKN', '', (error, result) => {console.log(result)})
Any Ideas ?