Commit 454c5258 authored by protolambda's avatar protolambda Committed by GitHub

op-node: correct batch-encoding doc-comment

parent ba14ecf7
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
// Batch format // Batch format
// //
// SingularBatchType := 0 // SingularBatchType := 0
// singularBatch := SingularBatchType ++ RLP([epoch, timestamp, transaction_list] // singularBatch := SingularBatchType ++ RLP([parent_hash, epoch_number, epoch_hash, timestamp, transaction_list])
// SingularBatch is an implementation of Batch interface, containing the input to build one L2 block. // SingularBatch is an implementation of Batch interface, containing the input to build one L2 block.
type SingularBatch struct { type SingularBatch struct {
......
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