You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Malformed calls from JS: field sizes are different. #2
While using react-native-eos on react-native, I encountered a problem. Here is the error message, Can you help me to salve it?
Malformed calls from JS: field sizes are different.
[[15,6,33,22,6,13,33],[3,0,1,12,13,0,0],[[],[],[5],[2,7,{"iterations":1,"toValue":1,"frames":[0,0.008888888888888889,0.035555555555555556,0.08000000000000002,0.14222222222222222,0.22222222222222227,0.3200000000000001,0.4355555555555557,0.5644444444444444,0.6799999999999999,0.7777777777777777,0.8577777777777778,0.9199999999999999,0.9644444444444443,0.991111111111111,1,1],"type":"frames"},175],[],[8,2000,1551862846520,false]],84]
run
NativeRunnable.java
handleCallback
Handler.java:873
dispatchMessage
Handler.java:99
dispatchMessage
MessageQueueThreadHandler.java:29
loop
Looper.java:193
run
MessageQueueThreadImpl.java:192
run
Thread.java:764
I was getting the same error while using ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d').then(trxResponse => { console.log('trxResponse', trxResponse); });
Removing the console.log line solved the problem. Probably the malformed calls come from there. ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d');
Activity
vgagaleski commentedon Mar 18, 2019
I was getting the same error while using
ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d').then(trxResponse => { console.log('trxResponse', trxResponse); });Removing the console.log line solved the problem. Probably the malformed calls come from there.
ReactNativeEos.pushAction('eosio.token','transfer', JSON.stringify(actionData),'user1','active', '5KAgVzQrY8qzqS7rfzxmjWhaHUSQgn6DpruaqopWEqUJEz7Wb1d');