From b8aa29d9da26fcfe9940c9344773fc3e2deea972 Mon Sep 17 00:00:00 2001 From: Dmitrii Pichulin Date: Wed, 28 Jul 2021 00:41:58 +0300 Subject: [PATCH] selfcheck --- w8_updater.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/w8_updater.php b/w8_updater.php index 3299420..f7467ef 100644 --- a/w8_updater.php +++ b/w8_updater.php @@ -56,11 +56,15 @@ function selftest() $address = $RO->getAddressById( $aid ); $chainAmount = wk()->balance( $address, $assetId ); - if( $a === 0 && $address === '3MkcWFcRjVjFvmyk1F4LECZcW1nkThUS2ug' ) // last GENERATOR - continue; - if( $chainAmount !== $amount ) { + if( $a === 0 && + ( + $address === '3P3aayN8kE6gXo7jSki7WUJHdTAF4X4S9xA' || + $address === '3PKbwQQhUSxsTTkrj8FsVFcN3B9YBEiuBJT' + ) ) // last GENERATOR + continue; + wk()->log( $a .': ' . $assetId . ' (' . $asset . ')' ); wk()->log( 'e', $address . ': ' . w8io_amount( $chainAmount, $decimals ) . ' !== ' . w8io_amount( $amount, $decimals ) ); exit;