mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-27 07:14:48 +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};
|
||||
|
||||
// If we have a keva script, set the "keva" parameter.
|
||||
if (kevaOp.isKevaOp())
|
||||
{
|
||||
if (kevaOp.isAnyUpdate())
|
||||
output.kevaOp = "update: " + ValtypeToString(kevaOp.getOpNamespace());
|
||||
else
|
||||
output.kevaOp = "new: " + ValtypeToString(kevaOp.getOpNamespace());
|
||||
if (kevaOp.isKevaOp()) {
|
||||
if (kevaOp.isAnyUpdate()) {
|
||||
output.kevaOp = "update: " + EncodeBase58Check(kevaOp.getOpNamespace());
|
||||
} else {
|
||||
output.kevaOp = "new: " + EncodeBase58Check(kevaOp.getOpNamespace());
|
||||
}
|
||||
output.amount = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user