mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-05 11:44:25 +00:00
Fixed keva entry in the result of gettransaction.
This commit is contained in:
parent
1112bc2f02
commit
ed0a03b941
@ -1562,12 +1562,12 @@ void CWalletTx::GetAmounts(std::list<COutputEntry>& listReceived,
|
|||||||
COutputEntry output = {address, "", txout.nValue, (int)i};
|
COutputEntry output = {address, "", txout.nValue, (int)i};
|
||||||
|
|
||||||
// If we have a keva script, set the "keva" parameter.
|
// If we have a keva script, set the "keva" parameter.
|
||||||
if (kevaOp.isKevaOp())
|
if (kevaOp.isKevaOp()) {
|
||||||
{
|
if (kevaOp.isAnyUpdate()) {
|
||||||
if (kevaOp.isAnyUpdate())
|
output.kevaOp = "update: " + EncodeBase58Check(kevaOp.getOpNamespace());
|
||||||
output.kevaOp = "update: " + ValtypeToString(kevaOp.getOpNamespace());
|
} else {
|
||||||
else
|
output.kevaOp = "new: " + EncodeBase58Check(kevaOp.getOpNamespace());
|
||||||
output.kevaOp = "new: " + ValtypeToString(kevaOp.getOpNamespace());
|
}
|
||||||
output.amount = 0;
|
output.amount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user