TruStory / truchain

⛓ A crypto-incentivized debate community
http://www.trustory.io
Other
33 stars 14 forks source link

Expose interest calculation logic #782

Closed truted closed 5 years ago

truted commented 5 years ago

graphql/client needs to be able to calculate expected rewards

Screen Shot 2019-08-02 at 12 00 12 PM
codecov[bot] commented 5 years ago

Codecov Report

Merging #782 into develop will increase coverage by 0.01%. The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #782      +/-   ##
===========================================
+ Coverage    59.19%   59.21%   +0.01%     
===========================================
  Files           73       73              
  Lines         4147     4149       +2     
===========================================
+ Hits          2455     2457       +2     
  Misses        1484     1484              
  Partials       208      208
truted commented 5 years ago

Exposed method on the keeper instead of globally. Fixing now.