Strange contract behavior

winchellwinchell San Francisco, CAMember Posts: 16
I'm using the first Mutan example from https://github.com/ethereum/go-ethereum/wiki/PoC-5-Mutan-Examples. As-is, it doesn't work when sending a txn to it. The GT compare is always 0 because -- I think -- this.store[from] is coming back with 0 every time.

However if I change the 'from' variable to this.origin() throughout, it does work.

Not working: http://pastebin.com/B17mkFeG
Working: http://pastebin.com/9kAXHjbJ

Comments

Sign In or Register to comment.