Merge pull request #1135 from jl777/jl777

Fix oracles 'd' and 'D'
This commit is contained in:
jl777
2019-01-02 04:03:14 -11:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -370,7 +370,7 @@ int32_t oracle_format(uint256 *hashp,int64_t *valp,char *str,uint8_t fmt,uint8_t
{
for (i=0; i<dlen; i++)
sprintf(&str[i<<1],"%02x",data[offset++]);
str[i] = 0;
str[i<<1] = 0;
} else return(-1);
}
}