diff --git a/src/komodo.h b/src/komodo.h index cdead9c83..c3b59aae9 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -191,7 +191,7 @@ void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotar if ( fwrite(opretbuf,1,olen,fp) != olen ) errs++; //printf("ht.%d R opret[%d]\n",height,olen); - komodo_opreturn(height,opretvalue,opretbuf,olen,txhash,numvouts); + komodo_opreturn(height,opretvalue,opretbuf,olen,txhash,vout); } else if ( notarypubs != 0 && numnotaries > 0 ) {