Skip to content

Commit 5c5704e

Browse files
committed
Merge bitcoin/bitcoin#33791: kernel: Use enumeration type for flags argument
ed57205 kernel: Use enumeration type for flags argument (TheCharlatan) Pull request description: Just a small followup from bitcoin/bitcoin#30595 (comment). ACKs for top commit: alexanderwiederin: ACK bitcoin/bitcoin@ed57205 rkrux: lgtm ACK ed57205 as per the mentioned review comment of the previous PR. stickies-v: ACK ed57205 Tree-SHA512: f365d86c76b88b7730c4182192f8fbacc536121de367d03f27450087b39d13bb0cc21ca5ede9428077ccf5be90e959e892d7d383c8a2900b7bfd2864dde37466
2 parents 50d106a + ed57205 commit 5c5704e

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)