diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index cf4300ca7..615c7791c 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -158,7 +158,7 @@ void dpow_datahandler(struct supernet_info *myinfo,uint32_t channel,uint32_t hei int32_t dpow_update(struct supernet_info *myinfo,struct dpow_block *bp,uint32_t utxochannel,uint32_t sigchannel,uint32_t txidchannel,bits256 srchash,int32_t myind) { - struct dpow_entry *ep; int32_t len; bits256 hash; uint8_t data[sizeof(*ep)]; + struct dpow_entry *ep; int32_t len; bits256 hash; uint8_t data[4096]; ep = &bp->notaries[myind]; if ( (bp->bestk= dpow_bestk(bp,&bp->bestmask)) >= 0 ) {