Skip to content

Commit 43fb36c

Browse files
author
gege251
committed
Refactor
1 parent fa2313c commit 43fb36c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Spec/BotPlutusInterface/Contract.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ withoutSigning = do
311311
initState =
312312
def
313313
& utxos .~ [(txOutRef, txOut)]
314-
& files .~ uncurry Map.singleton (toVerificationKeyFile "./signing-keys" verificationKey1)
314+
& files
315+
.~ Map.fromList [toVerificationKeyFile "./signing-keys" verificationKey1]
315316
inTxId = encodeByteString $ fromBuiltin $ TxId.getTxId $ Tx.txOutRefId txOutRef
316317

317318
contract :: Contract Text (Endpoint "SendAda" ()) Text CardanoTx

0 commit comments

Comments
 (0)