Skip to content

Commit

Permalink
Merge pull request #57 from Alien-Worlds/DEMZNE-1090_Use-floating-poi…
Browse files Browse the repository at this point in the history
…nt-for-stakevote-calculations

Use floating point for stakevote calculations
  • Loading branch information
angelol authored Oct 6, 2022
2 parents 3f8dfc9 + f96284a commit 718a048
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 399 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "contract-shared-headers/safemath"]
path = contract-shared-headers/safemath
url = [email protected]:Alien-Worlds/safemath.git
2 changes: 1 addition & 1 deletion contract-shared-headers/daccustodian_shared.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "daccustodian_shared.hpp"
#include "eosdactokens_shared.hpp"
#include "external_types.hpp"
#include "safemath.hpp"
#include "safemath/safemath.hpp"

using namespace std;

Expand Down
1 change: 1 addition & 0 deletions contract-shared-headers/safemath
Submodule safemath added at 6029ae
374 changes: 0 additions & 374 deletions contract-shared-headers/safemath.hpp

This file was deleted.

2 changes: 1 addition & 1 deletion contracts/dacproposals/dacproposals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "../../contract-shared-headers/daccustodian_shared.hpp"
#include "../../contract-shared-headers/dacdirectory_shared.hpp"
#include "../../contract-shared-headers/eosdactokens_shared.hpp"
#include "../../contract-shared-headers/safemath.hpp"
#include "../../contract-shared-headers/safemath/safemath.hpp"

using namespace eosio;
using namespace std;
Expand Down
Loading

0 comments on commit 718a048

Please sign in to comment.