mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
53806d1abd
Also has to fix up tests. Changelog-Fixed: cli doesn't required anymore to confirm the password if the `hsm_secret` is already encrypted. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
20 lines
395 B
C
20 lines
395 B
C
#ifndef LIGHTNING_COMMON_ERRCODE_H
|
|
#define LIGHTNING_COMMON_ERRCODE_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
typedef s32 errcode_t;
|
|
|
|
#define PRIerrcode PRId32
|
|
|
|
// HSM errors code
|
|
#define HSM_GENERIC_ERROR 20
|
|
#define HSM_ERROR_IS_ENCRYPT 21
|
|
#define HSM_BAD_PASSWORD 22
|
|
#define HSM_PASSWORD_INPUT_ERR 23
|
|
#define ERROR_HSM_FILE 24
|
|
|
|
#endif /* LIGHTNING_COMMON_ERRCODE_H */
|