Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register as Delegate does not work #81

Open
bassjobsen opened this issue Aug 7, 2018 · 1 comment
Open

Register as Delegate does not work #81

bassjobsen opened this issue Aug 7, 2018 · 1 comment

Comments

@bassjobsen
Copy link
Contributor

it returns: invalid transaction body

@bassjobsen
Copy link
Contributor Author

update asch-js remove the previous error but introduce a new error:

bytebuffer.js?8ac9:222 Uncaught (in promise) TypeError: Cannot read property 'length' of undefined
    at eval (bytebuffer.js?8ac9:222)
    at Object.utfx.UTF16toUTF8 (bytebuffer.js?8ac9:3587)
    at Object.utfx.calculateUTF16asUTF8 (bytebuffer.js?8ac9:3680)
    at ByteBufferPrototype.writeUTF8String (bytebuffer.js?8ac9:2141)
    at getBytes (crypto.js?7c23:118)
    at getHash (crypto.js?7c23:161)
    at Object.sign (crypto.js?7c23:185)
    at Object.createDelegate (delegate.js?2ea7:24)
    at createDelegate (asch.js?64fc:12)
    at VueComponent._callee6$ (Forging.vue?b4d2:235)

bassjobsen added a commit to bassjobsen/asch-js that referenced this issue Aug 7, 2018
set the `type` for version 1.4, also add `signatures[]` and replace  the `senderPublicKey` with the  `senderId` (address). Should close AschPlatform/asch-frontend-2#81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant