mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
typo
This commit is contained in:
parent
662685a0ac
commit
48a7c34f6f
1 changed files with 1 additions and 3 deletions
|
|
@ -2,16 +2,14 @@
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
//42 bytes total
|
|
||||||
struct Transaction
|
struct Transaction
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string from = "", to = "";
|
std::string from = "", to = "";
|
||||||
uint32_t amount = 0;
|
uint32_t amount = 0;
|
||||||
uint64_t time = 0;
|
uint64_t time = 0;
|
||||||
|
|
||||||
Transaction() = default;
|
Transaction() = default;
|
||||||
Transaction(std::string from_str, std::string to_str, uint32_t amount uint64_t time) : amount(amount), time(time)
|
Transaction(std::string from_str, std::string to_str, uint32_t amount, uint64_t time) : amount(amount), time(time)
|
||||||
{
|
{
|
||||||
from = std::move(from_str);
|
from = std::move(from_str);
|
||||||
to = std::move(to_str);
|
to = std::move(to_str);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue