This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-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
Original file line number Diff line number Diff line change @@ -16543,6 +16543,7 @@ license = stdenv.lib.licenses.mit;
16543
16543
, base16-bytestring
16544
16544
, bytestring
16545
16545
, cardano-sl-chain
16546
+ , cardano-sl-client
16546
16547
, cardano-sl-core
16547
16548
, cardano-sl-crypto
16548
16549
, cardano-sl-infra
@@ -16610,6 +16611,7 @@ base
16610
16611
base16-bytestring
16611
16612
bytestring
16612
16613
cardano-sl-chain
16614
+ cardano-sl-client
16613
16615
cardano-sl-core
16614
16616
cardano-sl-crypto
16615
16617
cardano-sl-util
You can’t perform that action at this time.
0 commit comments