misc: small code style edit

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2017-07-16 10:26:34 +02:00
parent 3e8e03939f
commit c0ee7d68fd
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA
2 changed files with 3 additions and 5 deletions

View File

@ -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)
}

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2016 Jakub Sztandera
# Copyright (c) 2017 Jakub Sztandera
# MIT Licensed; see the LICENSE file in this repository.
#