diff --git a/dap-sdk/net/core/dap_proc_thread.c b/dap-sdk/net/core/dap_proc_thread.c
index cfa487b5a6dc15471944961f27d87ad104f8d6c1..a38fcfdb53cd980223a224d805da9a2815c06d56 100644
--- a/dap-sdk/net/core/dap_proc_thread.c
+++ b/dap-sdk/net/core/dap_proc_thread.c
@@ -43,6 +43,10 @@ typedef cpuset_t cpu_set_t; // Adopt BSD CPU setstructure to POSIX variant
 #define NOTE_READ NOTE_LOWAT
 #endif
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL SO_NOSIGPIPE
+#endif
+
 #else
 #error "Unimplemented poll for this platform"
 #endif
diff --git a/dap-sdk/net/core/dap_worker.c b/dap-sdk/net/core/dap_worker.c
index 47c2a774e31d5ad0ab49f4551cdfd499b77d4424..9467b64728d922b74b17629f43ceb468cdd56eb0 100644
--- a/dap-sdk/net/core/dap_worker.c
+++ b/dap-sdk/net/core/dap_worker.c
@@ -38,6 +38,11 @@
 
 #ifdef DAP_OS_DARWIN
 #define NOTE_READ NOTE_LOWAT
+
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL SO_NOSIGPIPE
+#endif
+
 #endif
 
 #include "dap_common.h"
diff --git a/dap-sdk/net/core/include/dap_worker.h b/dap-sdk/net/core/include/dap_worker.h
index ea74cda3c991471d5168cae890e614741b254a4d..4da7c9cff00cedd2e150f8edef2f0eb61081defb 100644
--- a/dap-sdk/net/core/include/dap_worker.h
+++ b/dap-sdk/net/core/include/dap_worker.h
@@ -28,6 +28,7 @@
 #include "dap_common.h"
 #include "dap_events_socket.h"
 
+
 typedef struct dap_proc_queue dap_proc_queue_t;
 typedef struct dap_timerfd dap_timerfd_t;
 typedef struct dap_worker
diff --git a/modules/wallet/include/dap_chain_wallet_internal.h b/modules/wallet/include/dap_chain_wallet_internal.h
index 9ddb64b2f838f30842e9e9e160523402d2101a93..0256080f4ce8e719a929b31a81302e3d6d4b47ff 100644
--- a/modules/wallet/include/dap_chain_wallet_internal.h
+++ b/modules/wallet/include/dap_chain_wallet_internal.h
@@ -47,7 +47,6 @@ typedef struct dap_chain_wallet_file_hdr{
     uint32_t version;
     uint8_t type; /// Wallets storage type 0x00 - uncompressed and unencrypted
     uint64_t padding;
-    uint8_t certs[];
 } DAP_ALIGN_PACKED dap_chain_wallet_file_hdr_t;
 
 typedef struct dap_chain_wallet_file