Comments (2)
I was investigating this now after reading the issue, as I checked that transaction, got the bytecode from it here:
Then I ran it through the official NEO VM, and the "amount" decodes correctly as a BigInteger with value 100000000000.
Also the code I'm using to include a BigInteger in the transaction comes from the official source too:
https://github.com/neo-project/neo-vm/blob/master/src/neo-vm/ScriptBuilder.cs#L48
The padding should make no difference and might be a red herring, the problem could lie in something else.
Could be a temporary network problem that made the tokens being reported as 0. I will investigate this further.
from neo-lux.
Fixed token transfer, in the end there were 3 different problems affecting like, like lack of nonce added to each tx meaning repeated transfers from same address with same quantity would fail, also for some reason the order of the script parameters was incorrect, just even if tx would get accepted it would fail at VM level.
from neo-lux.
Related Issues (20)
- Support for custom networks HOT 21
- Support for Withdraw() HOT 3
- Can't call `public static object Main(string operation, params object[] args)` from `Demo.cs` HOT 2
- New fork and clone to my laptop: Demo.cs doesn't build HOT 1
- .net core ? HOT 4
- Support for multiple outputs in light wallet
- List all demos with descriptions HOT 1
- neo-lux fails to build HOT 1
- DemoForUnity has lots of error on building. HOT 2
- Update nuget package HOT 4
- Bug in `WaitForTransaction`... [includes fix]
- Call To MultiSigWallet HOT 3
- Add support for `getvalidators`
- Add support for `TransactionType.StateTransaction`
- How to get a DataNode On a CallContract HOT 2
- GetStorage method bug
- Any sample or demo for api.CallContract() ? HOT 2
- Unable to process transaction using api.InvokeScript .. null transaction is returned
- Add MyWish to NeoRPC.cs file under ForPrivateNet method HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo-lux.