This commit is contained in:
jl777
2018-12-29 04:32:00 -11:00
parent b6c528f6df
commit 7598b1c375

View File

@@ -141,17 +141,17 @@ bool Eval::ImportCoin(const std::vector<uint8_t> params, const CTransaction &imp
}
else if ( ASSETCHAINS_SELFIMPORT == targetSymbol || ASSETCHAINS_SELFIMPORT == "GATEWAY" ) // various selfchain imports
{
if ( GetAssetchainsSymbol() == "BEAM" )
if ( ASSETCHAINS_SELFIMPORT == "BEAM" )
{
if ( CheckBEAMimport(proof,burnTx,payouts) < 0 )
return Invalid("BEAM-import-failure");
}
else if ( GetAssetchainsSymbol() == "CODA" )
else if ( ASSETCHAINS_SELFIMPORT == "CODA" )
{
if ( CheckCODAimport(proof,burnTx,payouts) < 0 )
return Invalid("CODA-import-failure");
}
else if ( GetAssetchainsSymbol() == "PUBKEY" )
else if ( ASSETCHAINS_SELFIMPORT == "PUBKEY" )
{
if ( CheckPUBKEYimport(proof,burnTx,payouts) < 0 )
return Invalid("PUBKEY-import-failure");