A peer-to-peer stack for code collaboration
Write machines.json upon writing to IPFS (#473)
James Haydon3746d847d4c4
diff --git a/exe/Daemon.hs b/exe/Daemon.hsindex ac4f01b..9f09dc5 100644--- a/exe/Daemon.hs+++ b/exe/Daemon.hs@@ -474,6 +474,7 @@ actAsWriter m = dowriteInputs :: MachineId -> [Value] -> Maybe Text -> Daemon [Value]writeInputs id is nonce = do(rs, idx) <- modifyMachine id (addInputs is write pub)+ writeMachineConfiglogInfo Debug "Wrote inputs to IPFS" [ ("machine-id", getMachineId id), ("new-input-index", show idx) ]pure rs