diff --git a/dap_chain_mempool.c b/dap_chain_mempool.c
index 31c4a6ea6b4158133bae4c1c14afa391f02a1e1b..60ed55cf2127ce82b62aae020988e8acb799834a 100755
--- a/dap_chain_mempool.c
+++ b/dap_chain_mempool.c
@@ -462,7 +462,7 @@ dap_chain_hash_fast_t* dap_chain_mempool_tx_create_cond_input(dap_chain_net_t *
         return NULL;
     }
 
-    if(dap_chain_datum_tx_add_out_item(&l_tx, a_addr_to, l_receipt->receipt.value_datoshi) != 1) {
+    if(dap_chain_datum_tx_add_out_item(&l_tx, a_addr_to, l_receipt->receipt_info.value_datoshi) != 1) {
         dap_chain_datum_tx_delete(l_tx);
         log_it( L_ERROR, "Cant add tx output");
         return NULL;