From 0e769eb67b11b27e904b6e106ef56cf5413612b4 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 5 Dec 2016 13:41:51 -0800 Subject: [PATCH] README - fix argument order --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a8e370..12676e8 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ You will need to use Node.js `Buffer` API compatible, if you are running inside const CID = require('cids') // V1 CID -const cid = new CID(CID.codecs.raw, 1, myhash) +const cid = new CID(1, CID.codecs.raw, multihash) // V0 CID const cid = new CID(base58Multihash)