Skip to content

Commit 0119e31

Browse files
authored
Merge pull request #107 from datachainlab/return-no-error-if-no-keys
Fix to return no error if the returned keys are empty Signed-off-by: Jun Kimura <[email protected]>
2 parents 812fab0 + 814d92f commit 0119e31

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/commands/enclave.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ fn run_list_keys<E: EnclaveCommandAPI<S>, S: CommitStore>(
9595
} else {
9696
km.all_keys()?
9797
};
98-
if list.is_empty() {
99-
return Err(anyhow!("no enclave keys found"));
100-
}
101-
10298
let mut list_json = Vec::new();
10399
for eki in list {
104100
match eki.avr {

0 commit comments

Comments
 (0)