OSDN Git Service

init delete the pow related (#55)
[bytom/vapor.git] / test / protocol_test_util.go
index ceef0d4..7d89565 100644 (file)
@@ -27,7 +27,7 @@ func declChain(name string, baseChain *protocol.Chain, baseHeight uint64, height
                if err != nil {
                        return nil, err
                }
-               if err := SolveAndUpdate(chain, block); err != nil {
+               if _, err := chain.ProcessBlock(block); err != nil {
                        return nil, err
                }
        }