This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- -- This file has been generated from package.yaml by hpack version 0.18.1.
2
- --
3
- -- see: https://github.com/sol/hpack
4
-
5
1
name : cardano-sl-faucet
6
2
version : 2.0.0
7
3
description : Cardano SL - faucet
@@ -22,6 +18,7 @@ library
22
18
, aeson-pretty
23
19
, base16-bytestring
24
20
, bytestring
21
+ , cardano-sl-client
25
22
, cardano-sl-core
26
23
, cardano-sl-crypto
27
24
, cardano-sl-chain
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import qualified Data.ByteArray as BA
21
21
import Data.ByteString (ByteString )
22
22
import Data.List.NonEmpty (NonEmpty (.. ))
23
23
import Data.Text.Strict.Lens (utf8 )
24
+ import Pos.Client.Txp.Util (InputSelectionPolicy (.. ))
24
25
import Pos.Core (Address (.. ), Coin (.. ))
25
26
import Pos.Crypto.Signing (PassPhrase )
26
27
import System.Random
@@ -49,7 +50,8 @@ withdraw addr = withSublogger "WalletClient.withdraw" $ do
49
50
q <- view feWithdrawalQ
50
51
let paymentDist = (V1. PaymentDistribution addr coin :| [] )
51
52
sp = spendingPassword <&> view (re utf8 . to hashPwd . to V1 )
52
- payment = Payment paymentSource paymentDist Nothing sp
53
+ gp = Just (V1 OptimizeForHighThroughput )
54
+ payment = Payment paymentSource paymentDist gp sp
53
55
eRes <- liftIO $ sendToQueue q payment
54
56
case eRes of
55
57
Left e -> do
You can’t perform that action at this time.
0 commit comments