Skip to content

Commit

Permalink
blocknotify-dcr: refresh glide and fix new build issue
Browse files Browse the repository at this point in the history
+ reduce sunday min payout
  • Loading branch information
tpruvot committed Sep 13, 2017
1 parent ad3968f commit ca50bee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions blocknotify-dcr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ all:
rm -rf vendor
glide install
ln -s ../vendor vendor/src
rm -f vendor/src/github.com/decred/dcrrpcclient/wallet.go
GOPATH="$(GOPATH):$(ROOT)/vendor" go build

install: all
Expand Down
16 changes: 7 additions & 9 deletions blocknotify-dcr/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion blocknotify-dcr/glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import:
- package: github.com/decred/dcrd
subpackages:
- wire
- package: github.com/decred/dcrrpcclient
- package: github.com/decred/dcrjson
# - package: github.com/decred/dcrrpcclient
- package: github.com/decred/dcrutil

2 changes: 1 addition & 1 deletion web/yaamp/core/backend/payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function BackendCoinPayments($coin)

if(date("w", time()) == 0 && date("H", time()) > 18) { // sunday evening, minimum reduced
$min_payout = max($min_payout/10, $txfee);
if($coin->symbol == 'DCR') $min_payout = 0.025;
if($coin->symbol == 'DCR') $min_payout = 0.01005;
}

$users = getdbolist('db_accounts', "balance>$min_payout AND coinid={$coin->id} ORDER BY balance DESC");
Expand Down

0 comments on commit ca50bee

Please sign in to comment.