PeerAssets / chizukeki

チズケキ PeerAssets-able Peercoin web wallet.
https://peerassets.github.io/chizukeki/
BSD 3-Clause "New" or "Revised" License
3 stars 6 forks source link

can't send cards to yourself #8

Closed micimize closed 6 years ago

micimize commented 6 years ago

If sending cards to your own address is an invalid action, it should be disallowed. If it is valid, it should succeed

peerchemist commented 6 years ago

In PeerAssets protocol sending card back to the address which spawned the deck is a card burn transaction which removes the cards from circulation. Sending card from your address to your address again is perfectly fine and it is allowed.

micimize commented 6 years ago

this was due to papi being out of sync. Hard to detect when it is - we could add a /lastseen to papi and compare block heights, but really this is further convincing me of the utility a reworked (graphql) backend that synthesizes the explorer and asset data would be.