func (sb *ShardBlockBody) Copy() ShardBlockBody {
	newTransactions := make([]ShardTransaction, len(sb.Transactions))

	for i := range newTransactions {
		newTransactions[i] = sb.Transactions[i].Copy()
	}

	return ShardBlockBody{
		Transactions: newTransactions,
	}
}
// Copy returns a copy of the shard block header.
Copy returns a copy of the shard block header.
// Copy returns a copy of the shard block header .
func (sb *ShardBlockBody) Copy() ShardBlockBody {
	newTransactions := make([]ShardTransaction, len(sb.Transactions))
	for i := range newTransactions {
		newTransactions[i] = sb.Transactions[i].Copy()
	}
	return ShardBlockBody{
		Transactions: newTransactions,
	}
}
func ( sb * ShardBlockBody ) Copy ( ) ShardBlockBody { newTransactions := make ( [ ] ShardTransaction , len ( sb . Transactions ) ) for i := range newTransactions { newTransactions [ i ] = sb . Transactions [ i ] . Copy ( ) } return ShardBlockBody { Transactions : newTransactions , } }
Copy returns a copy of the shard block header.
Copy returns a copy of the shard block header .