DiosDelRayo 2024-11-20 08:47:52 -06:00
parent 2bc362d9e6
commit 23d893473e
No known key found for this signature in database
GPG Key ID: 93DD9A1E96E458E4
3 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ bool PendingTransactionImpl::commit(const std::string &filename, bool overwrite)
return m_status == Status_Ok; return m_status == Status_Ok;
} }
std::string PendingTransactionImpl::commit_string() std::string PendingTransactionImpl::commitToString()
{ {
std::string tx; std::string tx;

View File

@ -45,7 +45,7 @@ public:
~PendingTransactionImpl(); ~PendingTransactionImpl();
int status() const override; int status() const override;
std::string errorString() const override; std::string errorString() const override;
std::string commit_string() override; std::string commitToString() override;
bool commit(const std::string &filename = "", bool overwrite = false) override; bool commit(const std::string &filename = "", bool overwrite = false) override;
uint64_t amount() const override; uint64_t amount() const override;
uint64_t dust() const override; uint64_t dust() const override;

View File

@ -90,7 +90,7 @@ struct PendingTransaction
virtual int status() const = 0; virtual int status() const = 0;
virtual std::string errorString() const = 0; virtual std::string errorString() const = 0;
// return string of transaction gives the same content which would be saved to file with commit(filename) // return string of transaction gives the same content which would be saved to file with commit(filename)
virtual std::string commit_string() = 0; virtual std::string commitToString() = 0;
// commit transaction or save to file if filename is provided. // commit transaction or save to file if filename is provided.
virtual bool commit(const std::string &filename = "", bool overwrite = false) = 0; virtual bool commit(const std::string &filename = "", bool overwrite = false) = 0;
virtual uint64_t amount() const = 0; virtual uint64_t amount() const = 0;