tmpim / Krist

Krist is a centralized-database economy system for Minecraft servers. Krist does not use a block-chain, or any similar technology. Krist is not a "cryptocurrency".
https://krist.dev/
GNU General Public License v3.0
24 stars 19 forks source link

?name_send does not create transaction records #20

Closed BTCTaras closed 7 years ago

BTCTaras commented 8 years ago

See hhhhhh.kst, sent to kxj7ptb2o6

Lemmmy commented 8 years ago

when you've finally settled with a title i'll think about it

Lemmmy commented 8 years ago

"No transaction record is created when a name is transferred to an address that has never held a KST balance before" this title si the most helpful to me, is it still the problem?

BTCTaras commented 8 years ago

It still seems to be a problem, even when the address has a balance. (Using legacy call)

BTCTaras commented 8 years ago

Also the title is final now :confetti_ball: :fireworks: :tada: :banana:

BTCTaras commented 8 years ago

I haven't tested v2 calls

BTCTaras commented 8 years ago

Still an issue though

Lemmmy commented 8 years ago

It should be working? Looking at the code for name_new:

                    address.decrement({balance: names.getNameCost()});
                    address.increment({totalout: names.getNameCost()});

                    tx.createTransaction('name', address.address, names.getNameCost(), desiredName, null);
                    names.createName(desiredName, address.address).then(function () {
                        res.send('Success');
                    });
Lignum commented 8 years ago

bupm

BTCTaras commented 8 years ago

bunp

Lemmmy commented 8 years ago

asdfghjkl

Lignum commented 8 years ago

please fix this bug

Lemmmy commented 8 years ago

yse

Lemmmy commented 8 years ago

iill be able to fix this in a few days