Skip to content

Commit f4cc3c9

Browse files
authored
Merge pull request #810 from evoskuil/master
Disable asserts.
2 parents 1084ffc + 9c315e9 commit f4cc3c9

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

include/bitcoin/database/tables/caches/ecdsa.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ struct ecdsa
7272
};
7373
};
7474

75-
static_assert(offsetof(system::ecdsa::triple, digest) == 0);
76-
static_assert(offsetof(system::ecdsa::triple, point) == 32);
77-
static_assert(offsetof(system::ecdsa::triple, signature) == 65);
78-
static_assert(offsetof(system::ecdsa::triple, identifier) == 129);
75+
////static_assert(offsetof(system::ecdsa::triple, digest) == 0);
76+
////static_assert(offsetof(system::ecdsa::triple, point) == 32);
77+
////static_assert(offsetof(system::ecdsa::triple, signature) == 65);
78+
////static_assert(offsetof(system::ecdsa::triple, identifier) == 129);
7979
static_assert(sizeof(system::ecdsa::triple) == schema::ecdsa::minrow);
8080

8181
} // namespace table

include/bitcoin/database/tables/caches/multisig.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ struct multisig
8080
};
8181
};
8282

83-
static_assert(offsetof(system::multisig::triple, digest) == 0);
84-
static_assert(offsetof(system::multisig::triple, point) == 32);
85-
static_assert(offsetof(system::multisig::triple, signature) == 65);
86-
static_assert(offsetof(system::multisig::triple, pair) == 129);
87-
static_assert(offsetof(system::multisig::triple, set) == 130);
88-
static_assert(offsetof(system::multisig::triple, identifier) == 132);
83+
////static_assert(offsetof(system::multisig::triple, digest) == 0);
84+
////static_assert(offsetof(system::multisig::triple, point) == 32);
85+
////static_assert(offsetof(system::multisig::triple, signature) == 65);
86+
////static_assert(offsetof(system::multisig::triple, pair) == 129);
87+
////static_assert(offsetof(system::multisig::triple, set) == 130);
88+
////static_assert(offsetof(system::multisig::triple, identifier) == 132);
8989
static_assert(sizeof(system::multisig::triple) == schema::multisig::minrow);
9090

9191
} // namespace table

include/bitcoin/database/tables/caches/schnorr.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ struct schnorr
7272
};
7373
};
7474

75-
static_assert(offsetof(system::schnorr::triple, digest) == 0);
76-
static_assert(offsetof(system::schnorr::triple, point) == 32);
77-
static_assert(offsetof(system::schnorr::triple, signature) == 64);
78-
static_assert(offsetof(system::schnorr::triple, identifier) == 128);
75+
////static_assert(offsetof(system::schnorr::triple, digest) == 0);
76+
////static_assert(offsetof(system::schnorr::triple, point) == 32);
77+
////static_assert(offsetof(system::schnorr::triple, signature) == 64);
78+
////static_assert(offsetof(system::schnorr::triple, identifier) == 128);
7979
static_assert(sizeof(system::schnorr::triple) == schema::schnorr::minrow);
8080

8181
} // namespace table

0 commit comments

Comments
 (0)