algorand / algorand/go-algorand

algokey 'succeeds' even when it doesn't actually sign a transaction

オープン
#2,123 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Team Lamprey
主要言語
Go
スター
1.4k
フォーク
537
平均マージ
1日 6時間
マージ済み PR(30日)
17

説明

### Subject of the issue

`algokey multisig` returns exit code 0 even when it doesn't actually sign a transaction

### Your environment

MacOS terminal

### Steps to reproduce

```
% algokey generate
Private key mnemonic: entire join unknown puzzle before crumble torch tumble own net river cloud oval decline insect edit cute dress negative clarify subway seminar warfare absent describe
Public key: ESKN72RO7Z5N2JBWVYA2DAUQ45MIKVPEZPDQ4PSPGLTA5KR2H72BYMPHZI
% touch empty-file.txn
% algokey multisig -m "entire join unknown puzzle before crumble torch tumble own net river cloud oval decline insect edit cute dress negative clarify subway seminar warfare absent describe" -t empty-file.txn -o empty-file.stxn
%
```

### Expected behaviour
If algokey is unable to sign a given input file it should throw an error.

### Actual behaviour
The transaction file was empty so it had nothing to sign, yet it still produced an empty file and returned successful.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。