AschPlatform / asch-js

Asch frontend library
18 stars 15 forks source link

return value of crypto.sign is not asigned to anything #12

Closed bassjobsen closed 6 years ago

bassjobsen commented 6 years ago

please see https://github.com/AschPlatform/asch-js/blob/master/lib/transactions/dapp.js#L33

crypto.sign(transaction, keys);

Why calling crypto.sign() and not using the results?

Expected that the result is asigned to transaction.signatures[]

bassjobsen commented 6 years ago

closed, see also https://stackoverflow.com/questions/51782880/what-is-the-difference-between-a-transaction-with-and-without-signatures