From e5364f6ebd548c4a812e824cc4108a21a80dab9c Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Nov 2016 15:11:42 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index e27b2f794..74d3f4aa2 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -180,7 +180,7 @@ int32_t dpow_datahandler(struct supernet_info *myinfo,struct dpow_info *dp,uint3 printf("error from rwutxobuf\n"); return(0); } - if ( bits256_cmp(U.hashmsg,bp->hashmsg) != 0 ) + if ( bits256_cmp(U.hashmsg,bp->hashmsg) != 0 && bits256_nonz(bp->hashmsg) != 0 ) { printf("unexpected mismatch hashmsg.%s vs %s\n",bits256_str(str,U.hashmsg),bits256_str(str2,bp->hashmsg)); return(0);