Skip to content

Commit

Permalink
Update to latest release of data
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKrawisz committed Aug 25, 2022
1 parent d2abe13 commit 105f410
Show file tree
Hide file tree
Showing 12 changed files with 167 additions and 160 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GigamonkeyConan(ConanFile):
default_options = {"shared": False, "fPIC": True}
generators = "cmake"
exports_sources = "*"
requires = "boost/1.76.0", "openssl/1.1.1k", "cryptopp/8.5.0", "nlohmann_json/3.10.0", "gmp/6.2.1", "SECP256K1/0.1@proofofwork/stable", "data/0.2@proofofwork/stable"
requires = "boost/1.76.0", "openssl/1.1.1k", "cryptopp/8.5.0", "nlohmann_json/3.10.0", "gmp/6.2.1", "SECP256K1/0.1@proofofwork/stable", "data/v0.0.5@proofofwork/unstable"

def set_version(self):
if "CIRCLE_TAG" in environ:
Expand Down
2 changes: 1 addition & 1 deletion extern/data
Submodule data updated from ab4a38 to 0544ae
2 changes: 1 addition & 1 deletion include/gigamonkey/accounts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace Gigamonkey::Bitcoin {
if (txs.empty()) return *this;
return data::fold([](const account& a, const event& e) -> account {
return a.reduce(e);
}, account{}, txs.values());
}, account{}, txs);
return reduce(txs.first()).reduce(txs.rest());
}
};
Expand Down
2 changes: 1 addition & 1 deletion include/gigamonkey/hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Gigamonkey {

operator bytes_view() const;

explicit operator math::number::N() const;
explicit operator N() const;

byte* begin();
byte* end();
Expand Down
Loading

0 comments on commit 105f410

Please sign in to comment.