asch-cli icon indicating copy to clipboard operation
asch-cli copied to clipboard

can't sendmoney

Open bassjobsen opened this issue 7 years ago • 2 comments

./bin/asch-cli -H 127.0.0.1 -P 4096 sendmoney --secret "stone elephant caught wrong spend traffic success fetch inside blush virtual element" --to "AJbjcLUmQezDrVrzS7XUaax6Pt3T8GQTM5" --amount 100000000000

returns:

Server error: Invalid transaction body

bassjobsen avatar Aug 05 '18 21:08 bassjobsen

signature of the trs (transaction) should be signatures and an Array since version 1.4. The issue is due to an old version of asch.js and can be fixed by running the following command:

npm install https://github.com/AschPlatform/asch-js/tarball/v1.4.1 --save

bassjobsen avatar Aug 05 '18 21:08 bassjobsen

should be fixed by https://github.com/AschPlatform/asch-cli/pull/27

bassjobsen avatar Aug 26 '18 09:08 bassjobsen