From 398cc66405f0ab4b84ec4244d3e5dacef3ab3afd Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 2 Jan 2019 04:02:49 -1100 Subject: [PATCH] Fix oracles 'd' and 'D' --- src/cc/import.cpp | 2 +- src/cc/oracles.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/import.cpp b/src/cc/import.cpp index 107a11e0a..ea69745b0 100644 --- a/src/cc/import.cpp +++ b/src/cc/import.cpp @@ -146,7 +146,7 @@ bool Eval::ImportCoin(const std::vector params,const CTransaction &impo for (int i=0; i burnAmount || totalOut < burnAmount-txfee ) - return Invalid("payout-too-high"); + return Invalid("payout-too-high-or-too-low"); } // Check burntx shows correct outputs hash if (payoutsHash != SerializeHash(payouts)) diff --git a/src/cc/oracles.cpp b/src/cc/oracles.cpp index f09dd0957..a2ce02fe6 100644 --- a/src/cc/oracles.cpp +++ b/src/cc/oracles.cpp @@ -370,7 +370,7 @@ int32_t oracle_format(uint256 *hashp,int64_t *valp,char *str,uint8_t fmt,uint8_t { for (i=0; i