From ec0bfea29545e6b3b49fb5c7ebf67df647b26092 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 19 Oct 2017 21:41:40 +0300 Subject: [PATCH] Test --- iguana/dpow/dpow_fsm.c | 4 ++-- iguana/iguana_notary.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 848b87bf9..effcf3914 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -449,8 +449,8 @@ void dpow_statemachinestart(void *ptr) } else { - dp->lastnotarized = bp->srctxid; - printf("notarized %s %s\n",dp->symbol,bits256_str(str,bp->srctxid)); + dp->lastnotarized = checkpoint.blockhash.hash; + printf("notarized %s %s\n",dp->symbol,bits256_str(str,checkpoint.blockhash.hash)); } if ( 0 && dp->cancelratify != 0 && bp->isratify != 0 ) { diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index aba869865..c3c7a415c 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -556,7 +556,7 @@ STRING_ARG(iguana,addnotary,ipaddr) char NOTARY_CURRENCIES[][16] = { "USD", "EUR", "JPY", "GBP", "AUD", "CAD", "CHF", "NZD", "CNY", "RUB", "MXN", "BRL", "INR", "HKD", "TRY", "ZAR", "PLN", "NOK", "SEK", "DKK", "CZK", "HUF", "ILS", "KRW", "MYR", "PHP", "RON", "SGD", "THB", "BGN", "IDR", "HRK", - "REVS", "SUPERNET", "DEX", "PANGEA", "JUMBLR", "BET", "CRYPTO", "HODL", "SHARK", "BOTS", "MGW", "COQUI", "WLC", "KV", "CEAL", "MESH", "LTC", "MNZ" }; + "REVS", "SUPERNET", "DEX", "PANGEA", "JUMBLR", "BET", "CRYPTO", "HODL", "SHARK", "BOTS", "MGW", "COQUI", "WLC", "KV", "CEAL", "MESH", "MNZ" }; // "LTC", ZERO_ARGS(dpow,notarychains) {