misc: small code style edit

License: MIT
Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
parent 3e8e0393
......@@ -34,12 +34,10 @@ func runIPLDPlugin(pl plugin.Plugin) error {
return nil
}
var err error
err = ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
err := ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
if err != nil {
return err
}
err = ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
return err
return ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
}
#!/bin/sh
#
# Copyright (c) 2016 Jakub Sztandera
# Copyright (c) 2017 Jakub Sztandera
# MIT Licensed; see the LICENSE file in this repository.
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment