From fd3250fc62539ce2e6201725d8b748874a299c90 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Dec 2016 14:12:54 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index bf14d8b84..8e13c4e58 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -185,7 +185,7 @@ struct dpow_nanoutxo { bits256 srcutxo,destutxo; uint64_t bestmask,recvmask; - uint32_t pendingcrcs[2]; + uint32_t pendingcrcs[2],paxwdcrc; uint16_t srcvout,destvout; uint8_t sigs[2][DPOW_MAXSIGLEN],siglens[2],bestk,pad; } PACKED; @@ -194,7 +194,7 @@ struct dpow_nanomsghdr { bits256 srchash,desthash; struct dpow_nanoutxo ratify,notarize; - uint32_t channel,height,size,datalen,crc32,myipbits,numipbits,paxwdcrc,ipbits[64]; + uint32_t channel,height,size,datalen,crc32,myipbits,numipbits,ipbits[64]; char symbol[16]; uint8_t senderind,version0,version1,packet[]; } PACKED; @@ -668,7 +668,7 @@ void dpow_send(struct supernet_info *myinfo,struct dpow_info *dp,struct dpow_blo np->version0 = DPOW_VERSION & 0xff; np->version1 = (DPOW_VERSION >> 8) & 0xff; if ( extralen > 0 ) - np->paxwdcrc = calc_crc32(0,extra,extralen); + np->paxwdcrc = calc_crc32(0,extras,extralen); else np->paxwdcrc = 0; memcpy(np->packet,data,datalen); sentbytes = nn_send(myinfo->dpowsock,np,size,0);