algorand / algorand/go-algorand
algokey 'succeeds' even when it doesn't actually sign a transaction
- 主要语言
- Go
- 星标
- 1.4k
- 派生
- 537
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 18
描述
### 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 还没有评估数据。