Skip to content

Commit

Permalink
Merge pull request #110 from renproject/release/0.1.16
Browse files Browse the repository at this point in the history
Release v0.1.16
  • Loading branch information
jazg committed Nov 16, 2020
2 parents 3196082 + e831af3 commit 8460392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.1.15
- Increase mint fees

## 0.1.15
- Update to use latest Darknode (increase underlying blockchain fee)

Expand Down
8 changes: 4 additions & 4 deletions resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (resolver *Resolver) QueryStat(ctx context.Context, id interface{}, params

func (resolver *Resolver) QueryFees(ctx context.Context, id interface{}, params *jsonrpc.ParamsQueryFees, req *http.Request) jsonrpc.Response {
response := resolver.handleMessage(ctx, id, jsonrpc.MethodQueryFees, *params, req, false)
if response.Error != nil{
if response.Error != nil {
return response
}
// Manually override the mint fee in the result, as it has changed in the
Expand All @@ -96,9 +96,9 @@ func (resolver *Resolver) QueryFees(ctx context.Context, id interface{}, params
jsonErr := jsonrpc.NewError(jsonrpc.ErrorCodeInternal, fmt.Sprintf("unmarshaling result: %v", err), nil)
return jsonrpc.NewResponse(id, nil, &jsonErr)
}
res.BCH.Ethereum.Mint = abi.U64{Int: big.NewInt(20)}
res.BTC.Ethereum.Mint = abi.U64{Int: big.NewInt(20)}
res.ZEC.Ethereum.Mint = abi.U64{Int: big.NewInt(20)}
res.BCH.Ethereum.Mint = abi.U64{Int: big.NewInt(25)}
res.BTC.Ethereum.Mint = abi.U64{Int: big.NewInt(25)}
res.ZEC.Ethereum.Mint = abi.U64{Int: big.NewInt(25)}
response.Result = res

return response
Expand Down

0 comments on commit 8460392

Please sign in to comment.