Skip to content

Commit ed57205

Browse files
committed
kernel: Use enumeration type for flags argument
1 parent 50d106a commit ed57205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kernel/bitcoinkernel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ typedef struct {
386386
btck_NotifyWarningSet warning_set; //!< A warning issued by the kernel library during validation.
387387
btck_NotifyWarningUnset warning_unset; //!< A previous condition leading to the issuance of a warning is no longer given.
388388
btck_NotifyFlushError flush_error; //!< An error encountered when flushing data to disk.
389-
btck_NotifyFatalError fatal_error; //!< A un-recoverable system error encountered by the library.
389+
btck_NotifyFatalError fatal_error; //!< An unrecoverable system error encountered by the library.
390390
} btck_NotificationInterfaceCallbacks;
391391

392392
/**
@@ -608,7 +608,7 @@ BITCOINKERNEL_API int BITCOINKERNEL_WARN_UNUSED_RESULT btck_script_pubkey_verify
608608
const btck_Transaction* tx_to,
609609
const btck_TransactionOutput** spent_outputs, size_t spent_outputs_len,
610610
unsigned int input_index,
611-
unsigned int flags,
611+
btck_ScriptVerificationFlags flags,
612612
btck_ScriptVerifyStatus* status) BITCOINKERNEL_ARG_NONNULL(1, 3);
613613

614614
/**

0 commit comments

Comments
 (0)