From 087866aab2b8daacd341f9e583ca526ff38432d9 Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Thu, 18 Apr 2024 11:10:48 +0200 Subject: [PATCH] add: support for debug-message from https://github.com/bitcoin/bitcoin/pull/28121 --- json/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/json/src/lib.rs b/json/src/lib.rs index 8c9bc6a2..5c654353 100644 --- a/json/src/lib.rs +++ b/json/src/lib.rs @@ -842,6 +842,8 @@ pub struct TestMempoolAcceptResult { pub allowed: bool, #[serde(rename = "reject-reason")] pub reject_reason: Option, + #[serde(rename = "debug-message")] + pub debug_message: Option, /// Virtual transaction size as defined in BIP 141 (only present when 'allowed' is true) /// Added in Bitcoin Core v0.21 pub vsize: Option,