Browse Source

Merge pull request #877 from jl777/FSM

10 block setback
pull/4/head
jl777 6 years ago
committed by GitHub
parent
commit
ac903b5e7e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/cc/dapps/oraclefeed.c
  2. 1
      src/cc/gateways.cpp

2
src/cc/dapps/oraclefeed.c

@ -508,7 +508,7 @@ int32_t main(int32_t argc,char **argv)
while ( 1 )
{
retstr = 0;
if ( acheight < (get_KMDheight(acname) - 10) && (clijson= get_komodocli(&retstr,acname,"oraclesinfo",oraclestr,"","")) != 0 )
if ( prevheight < (get_KMDheight("") - 10) && (clijson= get_komodocli(&retstr,acname,"oraclesinfo",oraclestr,"","")) != 0 )
{
if ( (regjson= jarray(&n,clijson,"registered")) != 0 )
{

1
src/cc/gateways.cpp

@ -17,7 +17,6 @@
/*
prevent duplicate bindtxid and cointxid via mempool scan
baton from mempool for oracle
string oracles
*/

Loading…
Cancel
Save