AschPlatform / asch-js

Asch frontend library
18 stars 15 forks source link

Update delegate.js #13

Closed bassjobsen closed 6 years ago

bassjobsen commented 6 years ago

set the type for version 1.4, also add signatures[] and replace the senderPublicKey with the senderId (address). Should close https://github.com/AschPlatform/asch-frontend-2/issues/81

bassjobsen commented 6 years ago

Well, i found that the registration return a successful operation.

The transaction is written in the transaction table, but the user is NOT added to the delegates table. The transaction table shows empty arg, maybe related to: https://github.com/AschPlatform/asch-sandbox-dist/issues/2

bassjobsen commented 6 years ago

Excuse me, i used the wrong type 202 schould be 10, after switching to type=10 an error is returned