Skip to content
Snippets Groups Projects

For issue 32 & 29

Closed SUN Ye requested to merge yesun into dev
4 files
+ 232
0
Compare changes
  • Side-by-side
  • Inline
Files
4
defmodule Block.Validation.Local.PreIssuer do
def valid(block) do
not (block["number"] == 0 and block["previousIssuer"] != nil) and not (block["number"] > 0 and block["previousIssuer"] == nil)
end
end
Loading